Debenu Quick PDF logo

GetPrintPreviewBitmapToString

Rendering and printing

Version history

This function was introduced in Quick PDF Library version 9.16.

Description

Returns a binary string containing a BMP image representing a preview of how printing will look.

Syntax

Delphi

function TDebenuPDFLibrary1811.GetPrintPreviewBitmapToString(
  PrinterName: WideString; PreviewPage, PrintOptions, MaxDimension, 
  PreviewOptions: Integer): AnsiString;

ActiveX

This function is not available in the ActiveX edition

DLL

char * DPLGetPrintPreviewBitmapToString(int InstanceID, wchar_t * PrinterName,
  int PreviewPage, int PrintOptions, int MaxDimension, int PreviewOptions)

Parameters

PrinterName The name of the printer to use for printing. This is the name that appears in the Windows Print Manager. Use the GetPrinterNames function to return a list of valid printers on the system. A value returned by the NewCustomPrinter function can also be used here.
PreviewPage The page number to preview
PrintOptions Use the PrintOptions function to obtain a value for this parameter
MaxDimension The maximum width or height of the preview bitmap
PreviewOptions Reserved for future use, should be set to zero.

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport