Dela via


CoreTextLayoutBounds.TextBounds Property

Definition

Gets or sets the bounding box in screen coordinates of a range of text.

public:
 property Rect TextBounds { Rect get(); void set(Rect value); };
Rect TextBounds();

void TextBounds(Rect value);
public Rect TextBounds { get; set; }
var rect = coreTextLayoutBounds.textBounds;
coreTextLayoutBounds.textBounds = rect;
Public Property TextBounds As Rect

Property Value

The bounding box in screen coordinates of a range of text.

Applies to