User Tools

Site Tools


style_properties

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
style_properties [2017/11/17 18:24] cs_adminstyle_properties [2020/06/10 18:56] cs_admin
Line 1: Line 1:
 +====== Style Properties ======
 Styles are used to specify font, size, color, … Styles are used to specify font, size, color, …
  
Line 9: Line 10:
 ^property constant ^can read ^can write ^persi\\ stent ^type ^default^min ^max ^usage ^ ^property constant ^can read ^can write ^persi\\ stent ^type ^default^min ^max ^usage ^
 |__CS_Area_Kind__|  √  | | |text| | | |Object kind = "Style"| |__CS_Area_Kind__|  √  | | |text| | | |Object kind = "Style"|
 +|__CS_Style_BackColor__|  √  |  √  |  √  |color|#00FFFFFF| | |Background color\\ Transparent (no color)|
 +|__CS_Style_BaseLineShift__|  √  |  √  |  √  |real|0|-100|256|Base line shift|
 |__CS_Style_BaseStyleID__|  √  |  √  |  √  |int|0|0| |Style: style ID\\ Base Style to use for this object\\ When set, all overriden properties are ignored| |__CS_Style_BaseStyleID__|  √  |  √  |  √  |int|0|0| |Style: style ID\\ Base Style to use for this object\\ When set, all overriden properties are ignored|
 +|__CS_Style_Bold__|  √  |  √  | |bool|no| | |Font style - bold\\ Bit 0 of __CS_Style_Full__|
 |__CS_Style_Features__|  √  |  √  |  √  |int|1|1| |Style: defined (overriden) properties\\ Which properties of the parent style are overridden| |__CS_Style_Features__|  √  |  √  |  √  |int|1|1| |Style: defined (overriden) properties\\ Which properties of the parent style are overridden|
-|__CS_Style_XML__|  √  |  √  | |text| | | |XML of a style| 
-|__CS_Style_ID__|  √  | | |int| | | |Style's ID| 
-|__CS_Style_Name__|  √  |  √  |  √  |text|empty for custom styles| | |Style name| 
 |__CS_Style_FontName__|  √  |  √  |  √  |text| | | |Font name\\ Segoe UI on Windows, Lucida Grande on MacOS| |__CS_Style_FontName__|  √  |  √  |  √  |text| | | |Font name\\ Segoe UI on Windows, Lucida Grande on MacOS|
-|__CS_Style_Size__|  √  |  √  |  √  |real|9|4|128|Font size| 
 |__CS_Style_Full__|  √  |  √  |  √  |int|0|0|15|Font style| |__CS_Style_Full__|  √  |  √  |  √  |int|0|0|15|Font style|
-|__CS_Style_Bold__|  √  |  √  | |bool|no| | |Font style - bold\\ Bit 0 of __CS_Style_Full__| 
-|__CS_Style_Italic__|  √  |  √  | |bool|no| | |Font style - italic\\ Bit 1 of __CS_Style_Full__| 
-|__CS_Style_Underline__|  √  |  √  | |bool|no| | |Font style - underline\\ Bit 2 of __CS_Style_Full__| 
-|__CS_Style_StrikeThrough__|  √  |  √  | |bool|no| | |Font style - strike-through\\ Bit 3 of __CS_Style_Full__| 
 |__CS_Style_HorAlign__|  √  |  √  |  √  |int|0|0|5|Horizontal alignment\\ 0 - default\\ 1 = left\\ 2 = center\\ 3 = right\\ 4 = justify\\ 5 = full justify| |__CS_Style_HorAlign__|  √  |  √  |  √  |int|0|0|5|Horizontal alignment\\ 0 - default\\ 1 = left\\ 2 = center\\ 3 = right\\ 4 = justify\\ 5 = full justify|
-|__CS_Style_VertAlign__|  √  |  √  |  √  |int|0|0|3|Vertical alignment\\ 0 = default\\ 1 = top\\ 2 = center\\ 3 = bottom| 
-|__CS_Style_TextColor__|  √  |  √  |  √  |color|#FF000000| | |Font color\\ Black| 
-|__CS_Style_BackColor__|  √  |  √  |  √  |color|#00FFFFFF| | |Background color\\ Transparent (no color)| 
-|__CS_Style_Rotation__|  √  |  √  |  √  |real|0|-360|360|Rotation of text| 
-|__CS_Style_BaseLineShift__|  √  |  √  |  √  |real|0|-100|256|Base line shift| 
 |__CS_Style_HorizontalScale__|  √  |  √  |  √  |real|1|0,1|100|Horizontal scale| |__CS_Style_HorizontalScale__|  √  |  √  |  √  |real|1|0,1|100|Horizontal scale|
 +|__CS_Style_ID__|  √  | | |int| | | |Style's ID|
 +|__CS_Style_Italic__|  √  |  √  | |bool|no| | |Font style - italic\\ Bit 1 of __CS_Style_Full__|
 |__CS_Style_LineSpacing__|  √  |  √  |  √  |real|1|0,5|10|Line spacing| |__CS_Style_LineSpacing__|  √  |  √  |  √  |real|1|0,5|10|Line spacing|
 +|__CS_Style_Name__|  √  |  √  |  √  |text|empty for custom styles| | |Style name|
 +|__CS_Style_Rotation__|  √  |  √  |  √  |real|0|-360|360|Rotation of text|
 +|__CS_Style_Size__|  √  |  √  |  √  |real|9|4|128|Font size|
 +|__CS_Style_StrikeThrough__|  √  |  √  | |bool|no| | |Font style - strike-through\\ Bit 3 of __CS_Style_Full__|
 +|__CS_Style_TextColor__|  √  |  √  |  √  |color|#FF000000| | |Font color\\ Black|
 +|__CS_Style_Underline__|  √  |  √  | |bool|no| | |Font style - underline\\ Bit 2 of __CS_Style_Full__|
 +|__CS_Style_VertAlign__|  √  |  √  |  √  |int|0|0|3|Vertical alignment\\ 0 = default\\ 1 = top\\ 2 = center\\ 3 = bottom|
 +|__CS_Style_XML__|  √  |  √  | |text| | | |XML of a style|
style_properties.txt · Last modified: 2022/01/31 12:00 by cs_admin