Table of Contents

Method GetTextHeight

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

GetTextHeight()

Gets the height of one line of text, in default user space units, when drawn with the current Font.

public double GetTextHeight()

Returns

double

The height of one line of text, in default user space units, when drawn with the current Font.

Remarks

By default, one user space unit equals 1/72 inch. When this canvas is taken from a PdfPage, the unit size depends on the UserUnit property.