CoreTextLayoutBounds CoreTextLayoutBounds CoreTextLayoutBounds CoreTextLayoutBounds Class

Definition

Represents the bounding boxes— in screen coordinates— of a range of text, and of a text input control.

public : sealed class CoreTextLayoutBounds : ICoreTextLayoutBoundspublic sealed class CoreTextLayoutBounds : ICoreTextLayoutBoundsPublic NotInheritable Class CoreTextLayoutBounds Implements ICoreTextLayoutBounds// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

An object of this type can be obtained from the LayoutBounds property of a CoreTextLayoutRequest object that you get from the CoreTextLayoutRequestedEventArgs.Request property inside a handler for the CoreTextEditContext.LayoutRequested event handler.

Properties

ControlBounds ControlBounds ControlBounds ControlBounds

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

public : Rect ControlBounds { get; set; }public Rect ControlBounds { get; set; }Public ReadWrite Property ControlBounds As Rect// You can use this property in JavaScript.
Value
Rect Rect Rect Rect

The bounding box in screen coordinates of a text input control.

TextBounds TextBounds TextBounds TextBounds

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

public : Rect TextBounds { get; set; }public Rect TextBounds { get; set; }Public ReadWrite Property TextBounds As Rect// You can use this property in JavaScript.
Value
Rect Rect Rect Rect

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