ImageGear .NET
GetQuad Method (ImGearPDFWord)




The index of the quad to obtain. The first quad in a word has an index of zero.
Gets the word's quad, specified in user space coordinates.
Syntax
'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
) 

Parameters

index
The index of the quad to obtain. The first quad in a word has an index of zero.

Return Value

ImGearPDFFixedQuad class object.
Remarks
See QuadCount property for a description of a quad.

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).

See Also

Reference

ImGearPDFWord Class
ImGearPDFWord Members
ImGearPDFFixedQuad Class
ImGearPDFWordFinder Class

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback