Introduction
WPViewPDF Standard
WPViewPDF PLUS
WPViewPDF MakeImage
Installation
Delphi
C++ Builder
Visual Studio
VB6
Distribution - which DLLs are required?
Troubleshooting
Create a PDF Editor
Delphi Example
Add the basic controls
Initialize the Menu and Actions
Add code to initialize a PDF viewer
Create "OnClick"
Parameters for the inbuild actions
Create "OnUpdate"
Add all buttons to the tool bar
Add "Form.Create"
Localization
Modify Annotation properties
Add dialog to create form fields
Get action number and execute
.NET (C#) Example
Initialize Program
Add the basic controls
Initialize the viewer
Initialize the menu
OnClick event handler
Initialize the toolbar
Update GUI
Extract Attachments
Tasks
Command() - execute procedures of WPViewPDF
Change GUI
ViewControls and ViewOptions
Localization
Create a toolbar
Zooming
Load and Save
Draw Shapes / Text objects on PDF
Record TPDFDrawObjectRec
Delete and modify shapes
Modify attributes of draw objects
Render objects and annotations into the PDF
XML Support
VCL: Example - highlight rectangle
VCL: Example: Text at mouse position
VCL: Add text draw object to all pages
VCL: AddHighlightAnnotationForText
.NET C# Example: Add text, image or rectangle
VB6 add rectangle and text
AddImage
AppendPage and add Shape
Render metafiles to pages
Use stamping script (COMPDF_StampText)
Example: Add Page numbers
Printing
Page rotation
Page moving
Initialize JBIG2 plugin
Trouble Shooting
Fields/Widgets and PDF form fill
PDF-Forms (AcroForms)
Annotation support
Insert free text annotation
Messages
Convert PDF into watermark
COMPDF_MakeWatermarkFromPage
COMPDF_LoadStreamAsWatermark
Use WPViewPDF with ImageEn
Internal Actions
List of Actions
Execute an Action
Add link annotations
Modify color of annotation
ActionModes
Append pages from Images
Example Projects
.NET C# Example: PDFViewNET
Delphi: PDFView
Delphi: PDF to Bitmap
Delphi: Add graphics to PDF
Commands
Configuration
Select Pages
Change the way the mouse works
Show internal Dialogs
Navigate in PDF
Printing (on paper)
Printing (on device)
PrintHDC
PrintHDC on TPrinter
Load PDF
Save PDF, RTF, TXT, HTML and XML
Set and get additional properties
Find X,Y Position
Get/Set Bookmarks
Security - Disable Save ...
Actions
Extract and add Attachments, i.e. ZUGFeRD XML. Read XMP
Component Description
Methods
TWPViewPDF.AddDrawObject
TWPViewPDF.AppendFromFile Method
TWPViewPDF.AttachStream Method
TWPViewPDF.BeginPrint Method
TWPViewPDF.Clear Method
TWPViewPDF.Command Method
TWPViewPDF.DeletePage Method
TWPViewPDF.EndPrint Method
TWPViewPDF.FindText Method
TWPViewPDF.GetMetafile Method
TWPViewPDF.GetMetafilePrn Method
TWPViewPDF.GetPageText Method
TWPViewPDF.GetPageTextW Method
TWPViewPDF.LoadFromFile Method
TWPViewPDF.LoadFromStream Method
TWPViewPDF.PrintHDC Method
TWPViewPDF.PrintPages Method
TWPViewPDF.UnDeletePage Method
TWPViewPDF.ViewerStart Method
TWPViewPDF.WriteBitmap
TWPViewPDF.WriteJPEG Method
TWPViewPDF.WritePNG Method
TIEWPCubedPDF
PDFWorkbench
Example: Read page count
Create a reusable work-bench in a dialog (TForm)
Render a PDF page to HDC
Direct Calls to DLL
pdfSetInfoW - Update info items in a PDF file
pdfMakeImage - convert selected pages to bitmaps
Example .NET - C#
Similar functions
pdfMakeImageExt
pdfConvertToTIFF - convert selected PDF pages to TIFF
pdfPrint / pdfPrintW - PRINT PDF function
pdfMerge / pdfMergeW - Merge PDF files (PLUS Edition)
pdfGetInfoW
DLLs provided with WPViewPDF
Whats new in WPViewPDF
License
Credits
Intellectual Property
LibTIFF Credits
FreeType License
AES
IGdiPLUS
AGG
JPEG 2000
AES Decryption
JBIG2
JPEG support