LineTo ; pathObject. CloseFigure PathPointFlags. LineTo ; page. Width, image. FromImage bitmap. DrawImage image, 0, 0, image. Create page. Document, bitmap, 0, 0 ; imageObject. You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot delete your posts in this forum. You cannot edit your posts in this forum.
Calling the CreateDocument method creates a report document that is ready to preview, print and export. The newly created document can then be accessed via the PrintingSystemBase. PrintingSystem , and the page collection is available via the XtraReport. Pages property. To see a code example, refer to the following help topic: Merging Reports. Once the document creation process has started, it will run until the document is complete.
It cannot be interrupted or canceled during this process. To create a report document asynchronously in a separate task, use the CreateDocumentAsync CancellationToken method instead. To be able to access document pages progressively as they are created, as well as interrupt or cancel the document creation, call the CreateDocument method overload with the buildForInstantPreview parameter set to true.
The CreateDocument method is called internally from the following methods i. If a report contains parameters and the XtraReport. RequestParameters property is set to true , calling the CreateDocument method will not invoke the Parameters form that enables end-users to enter parameter values, unless DevExpress. If you call the CreateDocument method after this code assigns a ReportPrintTool to the report, it invokes a dialog that requests report parameter values.
An attempt to call the CreateDocument method for a report that does not contain a DetailBand raises an exception specifically, when creating a report in code. Add this band to the report even if you do not need to display information within it.
This example illustrates the use of the XtraReport. CreateDocument method. May we contact you if we need to discuss your feedback in greater detail or update you on changes to this help topic?
All docs. General Information. DevExpress Installation. DevExpress Code Examples. Best Home Security Systems. Best External Solid State Drives. Best Portable Chargers. Best Phone Chargers. Best Wi-Fi Range Extenders. Best Oculus Quest 2 Accessories.
Best iPad Air Cases. Awesome PC Accessories. Best Linux Laptops. Best Wireless iPhone Earbuds. Best Bluetooth Trackers. Best eReaders. Best VPN. Browse All News Articles.
Windows 11 Uninstall Clock. Select and use the tool you want and create a PDF with it. You don't have to install or adjust anything, you can start creating PDF files immediately. There are no special requirements for your system to create PDFs. The online tools of PDF24 work under all common operating systems and browsers. You do not need to install any software.
0コメント