Get action number

<< Click to Display Table of Contents >>

Navigation:  Create a PDF Editor > Delphi Example >

Get action number

If you want to execute an integrated action directly you can retrieve the action number

 

ac := WPViewPDF1.CommandStrEx( COMPDF_ACTION_READ, '?DrawAnnotAny', 0 );

 

To execute this action call

 

s :=  '"Color=red","Alpha=255","Type=circle"';

 

WPViewPDF1.CommandStrEx( COMPDF_ACTIONNR, s, ac);

 

Also see "Internal Actions"