AddPageLevelGoToAction

Top  Previous  Next

[This method is new in  version 2.0 of Gnostice PDFtoolkit ActiveX/. NET Professional Edition]

 

This method adds page level GoTo action to the PDF document.

 

Syntax

[VC++]

void AddPageLevelGoToAction(LPDISPATCH Action, long TriggerType, long PageNo);

 

[CS]

public abstract new void AddPageLevelGoToAction (  IgtPDFGoToActionX Action ,  TxgtPageActionTriggers TriggerType ,  Int32 PageNo )

 

[VB]

Sub AddPageLevelGoToAction(Action As gtPDFGoToActionX, TriggerType As TxgtPageActionTriggers, PageNo As Long)

 

 

 

 

Parameter

   Action

      Specifies the GoTo Action as gtPDFGoToActionX object.

 

  TriggerType

       

       Specifies the event on which the GoTo Action should take place. It take any one of the value from        TxgtPageActionTriggers enumeration.

 

Value

Description

aatBeforePageOpen

Action gets invoked before a page is opened.

aatAfterPageClose

Action gets invoked after the page is closed.

aatBeforeDocClose

Action gets invoked before the document is closed.

aatBeforeDocSave

Action gets invoked before the document is saved.

aatAfterDocSave

Action gets invoked after the document is saved.

aatBeforeDocPrint

Action gets invoked before the document is printed.

aatAfterDocPrint

Action gets invoked after the document is printed.

 

  PageNo

        Specifies the page number to which this action is added.