CanvasTextLayout Properties |
The CanvasTextLayout type exposes the following members.
Name | Description | |
---|---|---|
ClusterMetrics | Gets an array of metrics describing each cluster. | |
CustomTrimmingSign | Gets or sets a custom trimming sign. | |
DefaultFontFamily | Specifies the font family name for ranges of the layout that don't have an explicitly specified font family name. | |
DefaultFontSize | Specifies the font size for ranges of the layout without an explicitly specified font size. | |
DefaultFontStretch | Specifies the font stretch for ranges of the layout without an explicitly specified font stretch. | |
DefaultFontStyle | Specifies the font style for ranges of the layout without an explicitly specified font style. | |
DefaultFontWeight | Specifies the font weight for ranges of the layout without an explicitly specified font weight. | |
DefaultLocaleName | Specifies the locale name for ranges of the layout without an explicitly specified locale name. | |
Device | Gets the device associated with this text layout. | |
Direction | Specifies the direction in which the text is read. | |
DrawBounds | Gets the bounds of the parts of the text that would get drawn. | |
HorizontalAlignment | Specifies the horizontal paragraph alignment. | |
IncrementalTabStop | Specifies the incremental tab stop position. | |
LastLineWrapping | Specifies whether or not the last word on the last line is wrapped. | |
LayoutBounds | Gets the bounds of the parts of the text that align to the layout. | |
LayoutBoundsIncludingTrailingWhitespace | Gets a rectangle describing the bounds of text, plus any trailing whitespace. | |
LineCount | Gets the number of lines in the text layout. | |
LineMetrics | Gets an array of metrics describing each line. | |
LineSpacing | Negative values use default line spacing; non-negative values specify the line height. | |
LineSpacingBaseline | Specifies the distance from top of line to baseline. A reasonable ratio to lineSpacing is 80 percent. | |
LineSpacingMode | Specifies how lines are spaced apart. | |
MaximumBidiReorderingDepth | Gets the maximum reordering depth for direction changes of bi-directional text. | |
OpticalAlignment | Specifies the optical margin aligment for the text layout. | |
Options | Specifies text drawing options. | |
RequestedSize | Specifies the requested size. | |
TrimmingDelimiter |
A character used as the delimiter that signals the beginning of the portion of text to be preserved.
| |
TrimmingDelimiterCount | A value that indicates how many occurrences of the delimiter, counted from the end
of the text, are allowed before trimming is desired. | |
TrimmingGranularity | Specifies the granularity used to trim text overflowing the layout box. | |
TrimmingSign | Specifies the type of trimming sign used, when text is drawn outside a text layout's requested size extents. | |
VerticalAlignment | Specifies the vertical paragraph alignment. | |
VerticalGlyphOrientation | Specifies the orientation of glyphs when a vertical reading direction is used. | |
WordWrapping | Specifies word wrapping behavior. |