GraffitiHTMLLabel

View Categories

Images #

About #

GraffitiHTMLLabel is a custom label control that supports rendering a subset of HTML tags such as those for font styling and links.

Enumerations #

Name Values
VerticalAlignments Top
Middle
Bottom

Constants #

Name Type Value
kAlignCenter Number 1
kAlignLeft Number 0
kAlignRight Number 2

Events #

Definition Description
LinkClick(URL as String) Raised when the user clicks a link in the label.

Methods #

Definition Description

This class exposes no methods.

Properties #

Name Type Default Value Description
CharacterSpacing Double 1.0 Amount of distance between characters. 1.0 = 100%, 2.0 = 200%
LineSpacing Double 1.0 Amount of distance between lines. 1.0 = 100%, 2.0 = 200%
LinkColor Color &c0000FF Default link color. Link colors can also be changed by using a <font> tag inline.
Text String “” HTML Content to display.
TextAlign TextAlignments TextAlignments.Default Horizontal position for drawing content.
TextAlignVertical VerticalAlignments VerticalAlignments.Top Sets the vertical position for drawing content.

Examples #

This class currently has no examples.

Notes #

This class currently has no notes.