Gets content from PDF file.
| Code Block |
|---|
Object.GetContent(liPage, luDest, liFlag, lcFileName) |
...
liPage
Number of pages the reader reads from. If the value is -1, then the reader reads content from all pages .
luDest
Specifies the output type. It can be VFP memory variable, a flat file or a reference to XFRX#DRAW, XFRX#XML XFRX#XML and PDFL#INIT object.
| Type | Text | Rectangle | Horizontal and vertical line | Images | Other lines and curves | Append mode for destination |
|---|---|---|---|---|---|---|
| Variable | Yes | No | No | No | No | Yes |
| Flat file | Yes | No | No | No | No | Yes |
| XFRX#DRAW | Yes | Yes | Yes | Yes | No | Yes |
| XFRX#XML | Yes | Yes | Yes | Yes | No | No |
| PDFL#INIT | Yes | Yes | Yes | Yes | Yes | Yes |
liFlag
| Bit | Value | Description |
|---|---|---|
| 0 | 1 | append mode for content |
| 9 | 512 | the output is a file |
| 10 | 1024 | the output is a XFRX#DRAW, XFRX#XML XFRX#XML and PDFL#INIT object |
lcFileName
Output file name for XFRX#DRAW, XFRX#XML XFRX#XML, PDFL#INIT
Return value
Boolean.
.T. if content readed or .F. if not.
Remarks
Applies To: PDF#READER
XFRX version: 19.0
Variable and Flat file text data format:
...