RenderPageToString
Description
This function is only available in the Delphi and DLL editions. It renders a page from the selected document to a string. The data in the returned string depends on the Options parameter. For best results this function requires GDI+, which is available by default in Windows XP. For other operating systems you may need the GDI+ redistributable available from Microsoft, which is called "gdiplus.dll". You can use the SetGDIPlusFileName function to specify where this DLL is installed. Encrypted documents cannot be rendered, they must be decrypted using Decrypt or DecryptFile.
Syntax
Delphi
function TQuickPDF0813.RenderPageToString(DPI, Page, Options: Integer): string;
ActiveX
This function is not available in the ActiveX edition
DLL
char * QuickPDFRenderPageToString(int InstanceID, int DPI, int Page, int Options)
Parameters
| DPI | The DPI to use when rendering the page. Values over 300 will cause excessive memory usage. |
| Page | The page number to render |
| Options |
0 = BMP output 1 = JPEG output 2 = WMF output 3 = EMF output 4 = EPS output 5 = PNG output 6 = GIF output 7 = TIFF output 8 = EMF+ output |