Debenu Quick PDF logo

GetPageViewPortID

Page properties, Measurement and coordinate units

Version history

This function was introduced in Quick PDF Library version 8.13.

Description

Returns a ViewPortID value for the specified viewport of the selected page.

This value can be used with the GetViewPortName and GetViewPortMeasureDict functions.

Use the GetPageViewPortCount function to determine the number of viewports on the page.

Syntax

Delphi

function TDebenuPDFLibrary1511.GetPageViewPortID(Index: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetPageViewPortID(Index As Long) As Long

DLL

int DPLGetPageViewPortID(int InstanceID, int Index)

Parameters

Index The index of the viewport. The first viewport on the page has an index value of 1.

Return values

0 The view port at the specified index could not be found
Non-zero A ViewPortID value

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport