CTLine.GetBounds(CTLineBoundsOptions) Method
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.
Returns the bounds of the line as a rectangle, based on the specified CTLineBoundsOptions.
public CoreGraphics.CGRect GetBounds (CoreText.CTLineBoundsOptions options);
member this.GetBounds : CoreText.CTLineBoundsOptions -> CoreGraphics.CGRect
Parameters
- options
- CTLineBoundsOptions
Determines the kind of typographical information to return.
Returns
The bounding rectangle based on the parameter you pass on the options.
Remarks
This function can return different bounds based on the options passed.