THPDFViewer Current View Printing

Draws or prints the current vector view with centred aspect-preserving fit

Declarations

function HPDFViewerFitRect(const Bounds: TRect; ContentWidth, ContentHeight: Integer): TRect;
function THPDFViewerModel.DrawCurrentView(Canvas: TCanvas; const Bounds: TRect; DPI: Integer= 150): boolean;
function THPDFViewerModel.PrintCurrentView(Printer: TPrinter; const DocumentTitle: string= ''; DPI: Integer= 300): boolean;

The active page and ViewRotation are preserved through the vector metafile path