CTLine.GetTypographicBounds 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.
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