Indicates that the largest ascender height should be used to determine the height of the first line. Note that this only has an effect when rendered to PDF. Setting this to true can help with vertical alignment problems.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Collapse imageSyntax

C#
protected bool useAscender
Visual Basic
Protected useAscender As Boolean
Visual C++
protected:
bool useAscender

Collapse imageSee Also