PdsText class.
More...
PdsText class.
A PdsText is a text object in a PDF page content.
◆ GetText()
virtual int PdsText::GetText |
( |
wchar_t * |
buffer, |
|
|
int |
len |
|
) |
| |
|
pure virtual |
Gets the text of the page text element.
- Parameters
-
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
- Returns
- Number of characters written into buffer of required length.
◆ GetTextState()
Gets the text state of the text element.
- Parameters
-
doc | reference to a document in which the text thate should be obtained |
text_state | (filled by method) A pointer to a PdfTextState structure specifying the text state of a text object. |
- Returns
- true if the text state was successfully retrieved. false othervise