'Declaration
Public Overloads Function NewActionGoTo( _ ByVal DestinationType As PdfDestinationType, _ ByVal Page As Integer, _ ByVal Left As Single, _ ByVal Right As Single, _ ByVal Bottom As Single, _ ByVal Top As Single, _ ByVal Zoom As Single _ ) As Integer
public int NewActionGoTo( PdfDestinationType DestinationType, int Page, float Left, float Right, float Bottom, float Top, float Zoom )
public function NewActionGoTo( DestinationType: PdfDestinationType; Page: Integer; Left: Single; Right: Single; Bottom: Single; Top: Single; Zoom: Single ): Integer;
public function NewActionGoTo( DestinationType : PdfDestinationType, Page : int, Left : float, Right : float, Bottom : float, Top : float, Zoom : float ) : int;
public: int NewActionGoTo( PdfDestinationType DestinationType, int Page, float Left, float Right, float Bottom, float Top, float Zoom )
public: int NewActionGoTo( PdfDestinationType DestinationType, int Page, float Left, float Right, float Bottom, float Top, float Zoom )
Parameters
- DestinationType
- A member of the PdfDestinationType enumeration. Sets up a particular view of a destination page specified by the Page parameter.
- Page
- The destination page number in the current document. It must be a value from 1 to GetPageCount.
- Left
- The horizontal (left) coordinate of the document window's position according to the specified DestinationType parameter. The value of this coordinate is expressed in the currently set units according to the currently used coordinate space, see the Remarks section below.
- Right
- The horizontal (right) coordinate of the document window's position according to the specified DestinationType parameter. The value of this coordinate is expressed in the currently set units according to the currently used coordinate space, see the Remarks section below.
- Bottom
- The vertical (bottom) coordinate of the document window's position according to the specified DestinationType parameter. The value of this coordinate is expressed in the currently set units according to the currently used coordinate space, see the Remarks section below.
- Top
- The vertical (top) coordinate of the document window's position according to the specified DestinationType parameter. The value of this coordinate is expressed in the currently set units according to the currently used coordinate space, see the Remarks section below.
- Zoom
- The zoom factor to use when displaying the destination page according to the DestinationType configuration. Please use the value of 1 to represent the 100% zoom, 2 means 200%, 0,5 means 50%, etc. The value of 0 means that the current zoom value should remain unchanged.
Return Value
You can subsequently apply this identifier when creating actions using these methods: SetViewerOpenAction, SetBookmarkAction, SetAnnotationAction or SetFormFieldAction.