hello,
We try to use the "PXC_DrawTextExW" function with a large text. Is this feature allows you to write this text on several pages of the PDF file created?
If so, can you tell us how?
Thank you in advance.
Stéphane
PXC_DrawTextExW multi page
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
- Ivan - Tracker Software
- Site Admin
- Posts: 3549
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: PXC_DrawTextExW multi page
Yes, it does. That function updates usedChars member of PXC_DrawTextStruct structure (last parameter of the function) to indicate how many characters from source buffer have been used, and you can call that function again for next page for the next portion of your text.
The C++ example that is a part of SDK, has a demonstration of that. Please take a look at TestTextBox function in Examples\CExamples\PDFXCDemo\ex_text.cpp file.
The C++ example that is a part of SDK, has a demonstration of that. Please take a look at TestTextBox function in Examples\CExamples\PDFXCDemo\ex_text.cpp file.
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.