Share via


CTLine.GetTypographicBounds Method

Definition

Overloads

Name Description
GetTypographicBounds()

Returns the typorgraphic width of the line.

GetTypographicBounds(NFloat, NFloat, NFloat)

GetTypographicBounds()

Returns the typorgraphic width of the line.

public double GetTypographicBounds();
member this.GetTypographicBounds : unit -> double

Returns

The width of the line, or zero if there are any errors.

Remarks

Use the GetTypographicBounds(NFloat, NFloat, NFloat) method to retrieve more information about the typographical features of the line.

Starting with iOS 6.0, the GetBounds(CTLineBoundsOptions) provides finer typorgraphical information than this method.

Applies to

GetTypographicBounds(NFloat, NFloat, NFloat)

public double GetTypographicBounds(out System.Runtime.InteropServices.NFloat ascent, out System.Runtime.InteropServices.NFloat descent, out System.Runtime.InteropServices.NFloat leading);
member this.GetTypographicBounds : NFloat * NFloat * NFloat -> double

Parameters

ascent
NFloat
descent
NFloat
leading
NFloat

Returns

Applies to