PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
  • Properties specific to the description of pdfTextElement variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Versions 250064 and later
Versions 25 and later
iPhone/iPad From version 25 Update 1 (250064), this type of variable is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android Widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
New in version 25
iPhone/iPad From version 25 Update 1 (250064), this type of variable is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android Widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
iPhone/iPad From version 25 Update 1 (250064), this type of variable is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android Widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
New in version 250064
Versions 25 and later
iPhone/iPad From version 25 Update 1 (250064), this type of variable is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android Widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
New in version 25
iPhone/iPad From version 25 Update 1 (250064), this type of variable is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android Widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
iPhone/iPad From version 25 Update 1 (250064), this type of variable is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android Widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
Versions 25 and later
iPhone/iPad From version 25 Update 1 (250064), this type of variable is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android Widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
New in version 25
iPhone/iPad From version 25 Update 1 (250064), this type of variable is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android Widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
iPhone/iPad From version 25 Update 1 (250064), this type of variable is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android Widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
Example
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 the description of pdfTextElement variables

The following properties can be used to handle a text element in a PDF file:
Property nameType usedEffect
HeightRealHeight of rectangle indicating the position and size of the element in the page (in millimeters).
This property is available in read-only.
WidthRealWidth of rectangle indicating the position and size of the element in the page (in millimeters).
This property is available in read-only.
FontNameCharacter stringName of the font used to draw the text element.
This property is available in read-only.
iPhone/iPad Font details are not available.
FontSizeRealSize of the font used to draw the text element (in typographic point, 72PPP).
This property is available in read-only.
iPhone/iPad Font details are not available.
TextCharacter stringText of element.
This property is available in read-only.
XRealX position of the rectangle indicating the position and size of the element in the page (in millimeters).
This property is available in read-only.
YRealY position of the rectangle indicating the position and size of the element in the page (in millimeters).
This property is available in read-only.

Remark: These properties can be handled by using one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment