GetViewPortName
Page properties, Measurement and coordinate units
Description
Returns the name of the specified viewport.
Syntax
Delphi
Function TPDFlib.GetViewPortName(ViewPortID: Integer): WideString;
ActiveX
Function PDFlib::GetViewPortName(ViewPortID As Long) As String
DLL
const wchar_t* DLGetViewPortName(int InstanceID, int ViewPortID);
const char* DLGetViewPortNameA(int InstanceID, int ViewPortID);
Parameters
| ViewPortID | A value returned by the GetPageViewPortID function |
|---|
Return values
Returns the /Name entry of the viewport dictionary. Returns an empty string when ViewPortID does not identify a viewport or the viewport has no name.