Back to Devexpress

PdfDocumentProcessor.CreateGraphicsWorldSystem() Method

officefileapi-devexpress-dot-pdf-dot-pdfdocumentprocessor-ed2a128f.md

latest2.5 KB
Original Source

PdfDocumentProcessor.CreateGraphicsWorldSystem() Method

Creates a new instance of the PdfGraphics object that uses the world coordinate system to draw on a PDF document.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public PdfGraphics CreateGraphicsWorldSystem()
vb
Public Function CreateGraphicsWorldSystem As PdfGraphics

Returns

TypeDescription
PdfGraphics

A PdfGraphics object that uses world coordinates.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateGraphicsWorldSystem() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

pdf-document-api-generate-document-layout/CS/DocumentCreationAPI/Program.cs#L18

csharp
// Create and draw PDF graphics.
using (PdfGraphics graph = processor.CreateGraphicsWorldSystem()) {
    DrawGraphics(graph);

office-file-api-ai-implementation/CS/BusinessObjects/Helpers.cs#L212

csharp
{
    using (PdfGraphics graphics = pdfDocumentProcessor.CreateGraphicsWorldSystem())
    {

See Also

PdfDocumentProcessor Class

PdfDocumentProcessor Members

DevExpress.Pdf Namespace