"PLUS" Methods

Top  Previous  Next

The TWPViewPDFPLUS Object (VCL Only) encapsulates the features which are available in the WPViewPDF PLUS edition only. The interface is only available in the Delphi wrapper unit - but all methods can be also executed using the Command method.

Command IDs used by WPViewPDF PLUS

 

  COMPDF_EnablePLUS = 500; // Params as told in delivery e-mail

  COMPDF_SaveToFile = 501; // Save the combined contents to file

  COMPDF_SetString  = 502; // Set info entry name=text

  COMPDF_SetTitle   = 503; // Set title info string

  COMPDF_SetSubject = 504; // Set subject info string

  COMPDF_SetAuthor  = 505; // Set author info string

  COMPDF_SetKeywords= 506; // Set keywords info string

  COMPDF_SetSecurityMode = 507; // Set security when saving 0=off, 1=40 bit, 2=128 bit

  COMPDF_SetSecurityFlags= 508; // Set P falgs

  COMPDF_SetSecurityUser = 509; // Set user password

  COMPDF_SetSecurityOwner= 510; // Set owner password

 

  // New stamping feature (only text and vectors are supported. All text will be converted to curves!)

  COMPDF_StampMetafile = 495   // StrParam = page list, for example 1-2, IntParam = Metafile Handle  - over page

  COMPDF_StampMetafileUnder = 496 // like COMPDF_StampMetafile but under the page