Difference between revisions of "DiagramFontStyle getDefault"
Line 17: | Line 17: | ||
Returns the following array | Returns the following array | ||
− | {| cellpadding="2" border="1" width="907" style="border-collapse: collapse; border: 1px solid rgb(1, 1, 1); | + | {| cellpadding="2" border="1" width="907" class="tableintopic" style="border-collapse: collapse; border: 1px solid rgb(1, 1, 1);" |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| bgcolor="#f59d56" align="center" width="222" valign="middle" style="border: 1px solid rgb(1, 1, 1);" | | | bgcolor="#f59d56" align="center" width="222" valign="middle" style="border: 1px solid rgb(1, 1, 1);" | | ||
Line 144: | Line 144: | ||
''//Result: {18,Arial,10,{17,255,255,255},False,False,False,False}'' | ''//Result: {18,Arial,10,{17,255,255,255},False,False,False,False}'' | ||
+ | |||
+ | ''{{note}} This function should be paired with create diagram functions'' | ||
'''Availability''' | '''Availability''' |
Revision as of 08:06, 30 December 2011
DiagramFontStyle_getDefault
Gets a default chart chart font style object that can then be used for setting styles for various parts of charts. The default settings are derived from the systems set default style sheet. Since this is defined when setting up the system, these help files cannot tell you what the actual default values for your site willl be.
Syntax
DiagramFontStyle_getDefault()
Arguments
None
Return type
Returns the following array
Constant |
Type |
Initial/Default value |
Description |
OBJECT_TYPE |
Number |
18 |
Enumeration for the object type. |
DIAGRAM_FONT_STYLE_FACE |
String |
Default extracted from system's default style sheet. |
Font face. Currently, the system supports the following font face: arial, courier new, lucida sans unicode, ms sans serif, tahoma, verdana, arial black, arial narrow, comic sans ms, wingdings, kantipur. |
DIAGRAM_FONT_STYLE_SIZE |
Number |
Default extracted from system's default style sheet. |
Font size. |
DIAGRAM_FONT_STYLE_COLOR |
Array |
Default extracted from system's default style sheet. |
Font color. |
DIAGRAM_FONT_STYLE_BOLD |
Boolean |
Default extracted from system's default style sheet. |
Font style: bold. |
DIAGRAM_FONT_STYLE_ITALIC |
Boolean |
Default extracted from system's default style sheet. |
Font style: italic. |
DIAGRAM_FONT_STYLE_UNDERLINE |
Boolean |
Default extracted from system's default style sheet. |
Font style: underline. |
DIAGRAM_FONT_STYLE_INHERIT |
Boolean |
False |
Specifies whether the font style will be inherited from the style sheet (when True) or gotten from the system's default (when False). |
Examples
array font = DiagramFontStyle_getDefault();
print(font);
//Result: {18,Arial,10,{17,255,255,255},False,False,False,False}
Note: This function should be paired with create diagram functions
Availability
Version 5.8.1