|
Print Suite .Net • How To Use It
- A. Printing with DocumentDesigner
-
- Add DocumentDesigner component onto your form
- Add needed print provider components (for instance, WatermarkProvider and TextProvider)
- Choose Document property of DocumentDesigner component and click the ellipsis button to open document editor
- Click the New button from the Section group
- Change name of added section if you want
- Select Page item of added document section
- Click the Add button from the Provider group
- In the opened provider list choose your WatermarkProvider component and click Add button to add it to the Page list
- Select Content item of added document section
- Click the Add button from the Provider group
- In the opened provider list choose your TextProvider component and click Add button to add it to the Content list
- If you need more providers in current section, repeat steps 6-11 for other providers
- If you need more sections in your document, repeat steps 4-11 for other sections and providers
- Click OK button of the document editor to save new document structure
- Customize your print providers (add watermark graphics, text, and so on)
- Print your document with Print or PrintDialog methods of DocumentDesigner component
If you need preview...
- Add PrintPreviewControl onto your form
- Link it with DocumentDesigner by Preview property of DocumentDesigner
If you want to control print and preview with easy...
- Add PreviewToolbar and PreviewStatusBar controls onto your form
- Link them all using DocumentDesigner and StatusBar properties of PreviewToolbar and DocumentDesigner and Toolbar properties of PreviewStatusBar
- B. Printing without DocumentDesigner
-
- Add any print provider component onto your form
- Add ProviderToDocument component onto your form
- Link them using PrintProvider property of ProviderToDocument
- Customize your PrintProvider
- Print your document with Print method of ProviderToDocument
If you need preview...
- Add PrintPreviewControl onto your form
- Link it with ProviderToDocument by Document property of PrintPreviewControl
- C. Using your old print jobs implemented with PrintDocument
-
- Add DocumentToProvider component onto the form contained your PrintDocument component
- Link DocumentToProvider and PrintDocument by PrintDocument property of DocumentToProvider component
- Use your DocumentToProvider component with or without DocumentDesigner as described in the A and B sections above
|
|