Gets the vertical distance from the baseline to the top of the font bounding box, expressed in the glyph coordinate system.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public double TopSideBearing { get; }
VB
Public ReadOnly Property TopSideBearing As Double
	Get

Property Value

Type: Double

The vertical distance from the baseline to the top of the font bounding box. Usually, this is a positive value.

Font bounding box is the smallest rectangle enclosing the shape that would result if all of the glyphs of the font were placed with their origins coincident and then filled.

Remarks

See TransformationMatrix for more detail about relation between glyph and canvas coordinate systems.

See Also