|
|
|
|
|
- Properties specific to pdfTextElement variables
pdfTextElement (Type of variable) In french: pdfElémentTexte
The pdfTextElement type is used to find out all the characteristics of a text element in a PDF page. The characteristics of this element are returned by several WLanguage properties. For example, it is possible find out the position of the text and its content, for searching purposes. Caution: All properties of the pdfTextElement variable are read-only because the text of a PDF file cannot be modified. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. MyPDF is pdfDocument = "test.pdf" Â FOR EACH DocumentPage OF MyPDF.Page FOR EACH PageElement OF DocumentPage.TextElement Trace(PageElement.Text) END END
Remarks Properties specific to pdfTextElement variables The following properties can be used to handle a text element in a PDF file: | | | Property name | Type used | Effect |
---|
FontName | Character string | Name of the font used to draw the text element. This property is read-only. | FontSize | Real | Size of the font used to draw the text element (in typographic point, 72PPP). This property is read-only. | Height | Real | Height of rectangle indicating the position and size of the element in the page (in millimeters). This property is read-only. | Text | Character string | Text of element. This property is read-only. | Width | Real | Width of rectangle indicating the position and size of the element in the page (in millimeters). This property is read-only. | X | Real | X position of the rectangle indicating the position and size of the element in the page (in millimeters). This property is read-only. | Y | Real | Y position of the rectangle indicating the position and size of the element in the page (in millimeters). This property is read-only. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|