Share via


CoreTextLayoutBounds 類別

定義

代表文字範圍或文字輸入控制項周框方塊的螢幕座標。

public ref class CoreTextLayoutBounds sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CoreTextLayoutBounds final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CoreTextLayoutBounds
Public NotInheritable Class CoreTextLayoutBounds
繼承
Object Platform::Object IInspectable CoreTextLayoutBounds
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

這個類型的物件可以從CoreTextLayoutRequest物件的LayoutBounds屬性取得,您可以從CoreTextLayoutRequestedEventArgs.Request屬性中取得CoreTextEditCoNtext.LayoutRequested事件處理常式內的處理常式。

屬性

ControlBounds

取得或設定文字輸入控制項螢幕座標中的周框方塊。

TextBounds

取得或設定文字範圍之螢幕座標中的周框方塊。

適用於