CoreTextLayoutBounds.TextBounds 属性

定义

获取或设置文本范围的屏幕坐标中的边界框。

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

属性值

一系列文本的屏幕坐标中的边界框。

适用于