Table of Contents

Method FromPdfPage

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

FromPdfPage(PdfPage)

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

public static XGraphics FromPdfPage(PdfPage page)

Parameters

page PdfPage

Returns

XGraphics

FromPdfPage(PdfPage, XGraphicsUnit)

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

public static XGraphics FromPdfPage(PdfPage page, XGraphicsUnit unit)

Parameters

page PdfPage
unit XGraphicsUnit

Returns

XGraphics

FromPdfPage(PdfPage, XPageDirection)

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

public static XGraphics FromPdfPage(PdfPage page, XPageDirection pageDirection)

Parameters

page PdfPage
pageDirection XPageDirection

Returns

XGraphics

FromPdfPage(PdfPage, XGraphicsPdfPageOptions)

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

public static XGraphics FromPdfPage(PdfPage page, XGraphicsPdfPageOptions options)

Parameters

page PdfPage
options XGraphicsPdfPageOptions

Returns

XGraphics

FromPdfPage(PdfPage, XGraphicsPdfPageOptions, XPageDirection)

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

public static XGraphics FromPdfPage(PdfPage page, XGraphicsPdfPageOptions options, XPageDirection pageDirection)

Parameters

page PdfPage
options XGraphicsPdfPageOptions
pageDirection XPageDirection

Returns

XGraphics

FromPdfPage(PdfPage, XGraphicsPdfPageOptions, XGraphicsUnit)

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

public static XGraphics FromPdfPage(PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit)

Parameters

page PdfPage
options XGraphicsPdfPageOptions
unit XGraphicsUnit

Returns

XGraphics

FromPdfPage(PdfPage, XGraphicsPdfPageOptions, XGraphicsUnit, XPageDirection)

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.

public static XGraphics FromPdfPage(PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit, XPageDirection pageDirection)

Parameters

page PdfPage
options XGraphicsPdfPageOptions
unit XGraphicsUnit
pageDirection XPageDirection

Returns

XGraphics