Debenu Quick PDF logo

GetPageMetricsToVariant

Page properties

Version history

This function was introduced in Quick PDF Library version 16.11.

Description

Returns the dimensions (MediaBox and CropBox) and rotation of the specified page range in the document.

Syntax

Delphi

This function is not available in the Delphi edition

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::GetPageMetricsToVariant(StartPage As Long,
  EndPage As Long, Options As Long) As Variant

DLL

This function is not available in the DLL edition

Parameters

StartPage The first page in the range
EndPage The last page in the range
Options 1 = Binary output
Nine double values per page are streamed in a continuous array. For each page there are the elements of the MediaBox, the elements of the CropBox and the value of the Rotation entry.
2 = Text output
The values are displayed in text format, separated by tab (char 9) characters and with CRLF after each page.

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport