PXC_DrawTextExW multi page

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
mr_steph
User
Posts: 52
Joined: Tue Jul 22, 2008 8:18 am

PXC_DrawTextExW multi page

Post by mr_steph »

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
User avatar
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

Post by Ivan - Tracker Software »

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.
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.
Post Reply