GetPageViewPortID
Lastnosti strani, Merske in koordinatne enote
Opis
Vrne vrednost ViewPortID za navedeni vidni prostor izbrane strani
To vrednost lahko uporabite s funkcijama GetViewPortName in GetViewPortMeasureDict. Število pogledov (viewport) na strani ugotovite s funkcijo GetPageViewPortCount
Sintaksa
Delphi
Function TPDFlib.GetPageViewPortID(Index: Integer): Integer;
ActiveX
Function PDFlib::GetPageViewPortID(Index As Long) As Long
DLL
int DLGetPageViewPortID(int InstanceID, int Index);
Parametri
| Index | Indeks vidnega prostora. Prvi vidni prostor na strani ima vrednost indeksa 1 |
|---|
Vrnjene vrednosti
| 0 | Pogleda (viewport) na navedenem indeksu ni bilo mogoče najti |
|---|---|
| Non-zero | vrednost ViewPortID |