|
|
One property makes wPDF such a universal tool:
property Canvas;
This property is valid if you used StartPage to open a new PDF page.
If you want to close the 'Canvas', for example to draw a bitmap using DrawBitmap, execute the procedure CloseCanvas. It will flush the stored graphics commands to the PDF Engine.
The property Canvas provides access to a TCanvas object you may use with almost any drawing code. You can use the Canvas procedures and Windows API commands such as SetWorldTransform(Canvas.Handle,..).
|