CoreTextLayoutBounds Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the screen coordinates of the bounding box for a range of text, or a text input control.
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
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
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 |
Gets or sets the bounding box in screen coordinates of a text input control. |
TextBounds |
Gets or sets the bounding box in screen coordinates of a range of text. |