Table of Contents

Method GetTextHeight

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

GetTextHeight()

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

public double GetTextHeight()

Returns

double

The height of the specified string in default user space units when drawn with current Font.

Remarks

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