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 TQuickPDF0815.GetPageViewPortID(Index: Integer): Integer;

ActiveX

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

DLL

int QuickPDFGetPageViewPortID(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 © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum