Data Types

From GAB Help
Jump to: navigation, search
Data Type Notes
Size

Format: "{x as integer}|{y as integer}"

Point

Format: "{x as integer}|{y as integer}"

Font

Format: "{Font Family}|{Font Size}" or "{Font Family}|{Font Size}|{Any number of appended attributes}"

Other attributes that can optionally be appended

• a single graphics Unit

• any number of Font Styles (Regular, Bold, Italic, Underline, Strikeout)

Color

• Format: "{Color}" or "{Color}|{Transparancy Level as Int}"

• Color Formats: VB6\GAB RGB Color (Int), #HTMLCode (String, with leading #), .NET Color Name(http://msdn.microsoft.com/en-us/library/aa358802.aspx)

• Transparency Level is an integer between 0 - 255 (0 - transparent, 127 - semi-transparent, 255 - opaque)

Enum

• You may set an Enum property using the name or ordinal

• Certain Enum properties may have several values assigned--e.g., Axis.LabelAutoFitStyles-- and may be combined using "|"

DataType To convert dates to a Float (necessary for some properties, such as Axis.Minimum), the date string passed should lead with "D#", e.g., "D#1/1/13"