GraffitiSuite Docs
Docs
Graffitihtmllabel
Loading document parsing libraries...
# GraffitiHTMLLabel Class Inherits GraffitiSuite.BaseCanvas ## About GraffitiHTMLLabel is a custom label control that supports rendering a subset of HTML tags such as those for font styling and links. ## Preview  Previous Next ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | True | True | ### Desktop | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Enumerations | Name | Value | Description | | --- | :---: | --- | | VerticalAlignments | Top <br> Middle <br> Bottom | Possible vertical alignment values. | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | LinkClick | URL as String | (None) | Raised when the user clicks a link in the label. | | Open | (None) | (None) | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | CharacterSpacing | Double | Nil | Amount of distance between characters. 1.0 = 100%, 2.0 = 200% | | LineSpacing | Double | Nil | Amount of distance between lines. 1.0 = 100%, 2.0 = 200% | | LinkColor | Color | Nil | Default link color. Link colors can also be changed by using a <font> tag inline. | | Private | | Dictionary | | | Private | As | = | | | Private | As | = | | | Private | As | Nil | | | Private | As | Nil | | | Private | As | Nil | | | Private | As | Nil | | | Private | As | Nil | | | Text | String | Nil | HTML Content to display. | | TextAlign | TextAlignments | Nil | Horizontal position for drawing content. | | TextAlignVertical | VerticalAlignments | Nil | Sets the vertical position for drawing content. |