TextData

Top Previous Topic Next Topic  Print this topic

TextData derived from ObjectData and provide all necessary information for create a visual text in Silverlight.

 

Members

 

Name

Type

Description

m_x

Double

text x position on page

m_y

Double

text y position on page

m_size

Double

font size

m_ascent

Double

font ascent

m_fontStyle

FontStyle

font style

m_fontWeight

FontWeight

font weight

m_fontFamily

FontFamily

font family

m_fontSource

FontSource

font source

m_fontResourcesID

String

font resource id

m_fill

Brush

brush used for text foreground

m_clip

Geometry

Geometry element for text clip (see Silverlight documentation)

m_clipData

ClipData

Clip object data

m_text

String

text content

 

Get-Set Methods

 

Name

Type

Description

X

Double

get or set m_x

Y

Double

get or set m_y

Size

Double

get or set m_size

Ascent

Double

get or set m_ascent

FontStyle

FontStyle

get or set m_fontStyle

FontWeight

FontWeight

get or set m_fontWeight

FontFamily

FontFamily

get or set m_fontFamily

FontSource

FontSource

get or set m_fontSource

Clip

Geometry

get or set m_clip

ClipData

ClipData

get or set m_clipData

Foreground

Brush

get or set m_fill

Text

String

get or set m_text