AddPageLevelURIAction

Top  Previous  Next

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

 

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

 

 

 

Syntax

[VC++]

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

 

[CS]

public abstract new void AddPageLevelURIAction (  IgtPDFURIActionX Action ,  TxgtPageActionTriggers TriggerType ,  Int32 PageNo )

 

[VB]

Sub AddPageLevelURIAction(Action As gtPDFURIActionX, TriggerType As TxgtPageActionTriggers, PageNo As Long)

 

 

 

Parameter

   Action

      Specifies the URI Action as gtPDFURIActionX object.

 

  TriggerType

       

       Specifies the event on which the URI 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.