GetPageViewPortID

Свойства на страницата, единици за измерване и координати

Описание

Връща стойност ViewPortID за зададения viewport на избраната страница

This value can be used with the Функции GetViewPortName и GetViewPortMeasureDict Use the GetPageViewPortCount function to determine the number of viewports on the page.

Синтаксис

Delphi

Function TPDFlib.GetPageViewPortID(Index: Integer): Integer;

ActiveX

Function PDFlib::GetPageViewPortID(Index As Long) As Long

DLL

int DLGetPageViewPortID(int InstanceID, int Index);

Параметри

IndexИндексът на viewport-а. Първият viewport на страницата има индекс 1

Връщани стойности

0Viewport-ът на зададения индекс не може да бъде намерен
Non-zeroСтойност ViewPortID