XGraphicsFromGraphics Method (Graphics, XSize, XGraphicsUnit)Terminal Works - PDF Printing.Net Library
Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.

Namespace: PdfEdit.Drawing
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax

public static XGraphics FromGraphics(
	Graphics graphics,
	XSize size,
	XGraphicsUnit unit
)

Parameters

graphics
Type: System.DrawingGraphics
size
Type: PdfEdit.DrawingXSize
unit
Type: PdfEdit.DrawingXGraphicsUnit

Return Value

Type: XGraphics
See Also

Reference