Gets content from PDF file.
XFRX version: 19.0
Code Block |
---|
pdfReader::GetContent(m.liPage, m.luDest, m.liFlag, m.lcFileName) |
Parameters
liPage
Number of pages the reader reads from. If the value is -1, then the reader reads content from all pages .
m.luDest
Specifies the output type. It can be VFP memory variable, a flat file or a reference to XFRX#DRAW, 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 |
m.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 and PDFL#INIT object |
m.lcFileName
Output file name for XFRX#DRAW, XFRX#XML, PDFL#INIT
Return value
Boolean.
.T. if content readed or .F. if not.
...