ImageGear21.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFWord Class : GetQuad Method |
'Declaration Public Function GetQuad( _ ByVal index As Integer _ ) As ImGearPDFFixedQuad
'Usage Dim instance As ImGearPDFWord Dim index As Integer Dim value As ImGearPDFFixedQuad value = instance.GetQuad(index)
public ImGearPDFFixedQuad GetQuad( int index )
public: ImGearPDFFixedQuad* GetQuad( int index )
public: ImGearPDFFixedQuad^ GetQuad( int index )
The quad's height is the height of the font's bounding box, not the height of the tallest character used in the word. The font's bounding box is determined by the glyphs in the font that extend farthest above and below the baseline; it often extends somewhat above the top of "A" and below the bottom of "y."
The quad's width is determined from the characters actually present in the word.
As an example, the quads for the words "AWAY" and "away" have the same height, but generally do not have the same width unless the font is a mono-spaced font (a font in which all characters have the same width).