Click or drag to resize
CanvasTextLayout Properties

The CanvasTextLayout type exposes the following members.

Properties
  NameDescription
Public propertyClusterMetrics
Gets an array of metrics describing each cluster.
Public propertyCustomTrimmingSign
Gets or sets a custom trimming sign.
Public propertyDefaultFontFamily
Specifies the font family name for ranges of the layout that don't have an explicitly specified font family name.
Public propertyDefaultFontSize
Specifies the font size for ranges of the layout without an explicitly specified font size.
Public propertyDefaultFontStretch
Specifies the font stretch for ranges of the layout without an explicitly specified font stretch.
Public propertyDefaultFontStyle
Specifies the font style for ranges of the layout without an explicitly specified font style.
Public propertyDefaultFontWeight
Specifies the font weight for ranges of the layout without an explicitly specified font weight.
Public propertyDefaultLocaleName
Specifies the locale name for ranges of the layout without an explicitly specified locale name.
Public propertyDevice
Gets the device associated with this text layout.
Public propertyDirection
Specifies the direction in which the text is read.
Public propertyDrawBounds
Gets the bounds of the parts of the text that would get drawn.
Public propertyHorizontalAlignment
Specifies the horizontal paragraph alignment.
Public propertyIncrementalTabStop
Specifies the incremental tab stop position.
Public propertyLastLineWrapping
Specifies whether or not the last word on the last line is wrapped.
Public propertyLayoutBounds
Gets the bounds of the parts of the text that align to the layout.
Public propertyLayoutBoundsIncludingTrailingWhitespace
Gets a rectangle describing the bounds of text, plus any trailing whitespace.
Public propertyLineCount
Gets the number of lines in the text layout.
Public propertyLineMetrics
Gets an array of metrics describing each line.
Public propertyLineSpacing
Negative values use default line spacing; non-negative values specify the line height.
Public propertyLineSpacingBaseline
Specifies the distance from top of line to baseline. A reasonable ratio to lineSpacing is 80 percent.
Public propertyLineSpacingMode
Specifies how lines are spaced apart.
Public propertyMaximumBidiReorderingDepth
Gets the maximum reordering depth for direction changes of bi-directional text.
Public propertyOpticalAlignment
Specifies the optical margin aligment for the text layout.
Public propertyOptions
Specifies text drawing options.
Public propertyRequestedSize
Specifies the requested size.
Public propertyTrimmingDelimiter
A character used as the delimiter that signals the beginning of the portion of text to be preserved.
Public propertyTrimmingDelimiterCount
A value that indicates how many occurrences of the delimiter, counted from the end of the text, are allowed before trimming is desired.
Public propertyTrimmingGranularity
Specifies the granularity used to trim text overflowing the layout box.
Public propertyTrimmingSign
Specifies the type of trimming sign used, when text is drawn outside a text layout's requested size extents.
Public propertyVerticalAlignment
Specifies the vertical paragraph alignment.
Public propertyVerticalGlyphOrientation
Specifies the orientation of glyphs when a vertical reading direction is used.
Public propertyWordWrapping
Specifies word wrapping behavior.
Top
See Also