PDFix SDK  6.15.0
PdsElement Struct Referenceabstract
Inheritance diagram for PdsElement:
PdsWord

Public Member Functions

virtual void GetBBox (PdfRect *bbox) const =0
 
virtual void GetQuad (PdfQuad *quad) const =0
 

Member Function Documentation

◆ GetBBox()

virtual void PdsElement::GetBBox ( PdfRect bbox) const
pure virtual

Gets the bounding box for a word in user space coordinates. To avoid the device-dependent effects of specifying objects in device space, PDF defines a device-independent coordinate system that always bears the same relationship to the current page, regardless of the output device on which printing or displaying occurs. This device-independent coordinate system is called user space. The origin of the user space(0, 0) represents the bottom-left corner of the PDF page. PDF files specify 72 points to 1 physical inch. The returned bounding box is guaranteed to encompass the word.

Parameters
bbox(Filled by the method) A pointer to a PdfRect structure specifying the bounding box of an element, specified in user space coordinates.

◆ GetQuad()

virtual void PdsElement::GetQuad ( PdfQuad quad) const
pure virtual

Gets the quad for a word in user space coordinates. See GetBBox for more info. The returned quad is guaranteed to encompass the element.

Parameters
quad(Filled by the method) A pointer to a PdfQuad structure specifying the bounding quad of an element, specified in user space coordinates.