XGraphics MethodsTerminal Works - PDF Printing.Net Library

The XGraphics type exposes the following members.

Methods

  NameDescription
Public methodBeginContainer
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
Public methodBeginContainer(Rectangle, Rectangle, XGraphicsUnit)
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
Public methodBeginContainer(RectangleF, RectangleF, XGraphicsUnit)
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
Public methodBeginContainer(XRect, XRect, XGraphicsUnit)
Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
Public methodStatic memberCreateMeasureContext
Creates the measure context. This is a graphics context created only for querying measures of text. Drawing on a measure context has no effect.
Public methodDispose
Releases all resources used by this object.
Public methodDrawArc(XPen, XRect, Double, Double)
Draws an arc representing a portion of an ellipse.
Public methodDrawArc(XPen, Rectangle, Double, Double)
Draws an arc representing a portion of an ellipse.
Public methodDrawArc(XPen, RectangleF, Double, Double)
Draws an arc representing a portion of an ellipse.
Public methodDrawArc(XPen, Double, Double, Double, Double, Double, Double)
Draws an arc representing a portion of an ellipse.
Public methodDrawBarCode(BarCode, XPoint)
Draws the specified bar code.
Public methodDrawBarCode(BarCode, XBrush, XPoint)
Draws the specified bar code.
Public methodDrawBarCode(BarCode, XBrush, XFont, XPoint)
Draws the specified bar code.
Public methodDrawBezier(XPen, XPoint, XPoint, XPoint, XPoint)
Draws a Bézier spline defined by four points.
Public methodDrawBezier(XPen, Point, Point, Point, Point)
Draws a Bézier spline defined by four points.
Public methodDrawBezier(XPen, PointF, PointF, PointF, PointF)
Draws a Bézier spline defined by four points.
Public methodDrawBezier(XPen, Double, Double, Double, Double, Double, Double, Double, Double)
Draws a Bézier spline defined by four points.
Public methodDrawBeziers(XPen, XPoint)
Draws a series of Bézier splines from an array of points.
Public methodDrawBeziers(XPen, Point)
Draws a series of Bézier splines from an array of points.
Public methodDrawBeziers(XPen, PointF)
Draws a series of Bézier splines from an array of points.
Public methodDrawClosedCurve(XBrush, XPoint)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XBrush, Point)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XBrush, PointF)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XPoint)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, Point)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, PointF)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XBrush, XPoint, XFillMode)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XBrush, Point, XFillMode)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XBrush, PointF, XFillMode)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XBrush, XPoint)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XBrush, Point)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XBrush, PointF)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XPoint, Double)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, Point, Double)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, PointF, Double)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XBrush, XPoint, XFillMode, Double)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XBrush, Point, XFillMode, Double)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XBrush, PointF, XFillMode, Double)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XBrush, XPoint, XFillMode)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XBrush, Point, XFillMode)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XBrush, PointF, XFillMode)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XBrush, XPoint, XFillMode, Double)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XBrush, Point, XFillMode, Double)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawClosedCurve(XPen, XBrush, PointF, XFillMode, Double)
Draws a closed cardinal spline defined by an array of points.
Public methodDrawCurve(XPen, XPoint)
Draws a cardinal spline through a specified array of points.
Public methodDrawCurve(XPen, Point)
Draws a cardinal spline through a specified array of points.
Public methodDrawCurve(XPen, PointF)
Draws a cardinal spline through a specified array of points.
Public methodDrawCurve(XPen, XPoint, Double)
Draws a cardinal spline through a specified array of points using a specified tension.
Public methodDrawCurve(XPen, Point, Double)
Draws a cardinal spline through a specified array of points using a specified tension.
Public methodDrawCurve(XPen, PointF, Double)
Draws a cardinal spline through a specified array of points using a specified tension.
Public methodDrawCurve(XPen, PointF, Int32, Int32)
Draws a cardinal spline through a specified array of point. The drawing begins offset from the beginning of the array.
Public methodDrawCurve(XPen, XPoint, Int32, Int32, Double)
Draws a cardinal spline through a specified array of point using a specified tension. The drawing begins offset from the beginning of the array.
Public methodDrawCurve(XPen, Point, Int32, Int32, Double)
Draws a cardinal spline through a specified array of point using a specified tension. The drawing begins offset from the beginning of the array.
Public methodDrawCurve(XPen, PointF, Int32, Int32, Double)
Draws a cardinal spline through a specified array of point using a specified tension. The drawing begins offset from the beginning of the array.
Public methodDrawEllipse(XBrush, XRect)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XBrush, Rectangle)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XBrush, RectangleF)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XPen, XRect)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XPen, Rectangle)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XPen, RectangleF)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XPen, XBrush, XRect)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XPen, XBrush, Rectangle)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XPen, XBrush, RectangleF)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XBrush, Double, Double, Double, Double)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XPen, Double, Double, Double, Double)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawEllipse(XPen, XBrush, Double, Double, Double, Double)
Draws an ellipse defined by a bounding rectangle.
Public methodDrawImage(XImage, XPoint)
Draws the specified image.
Public methodDrawImage(XImage, XRect)
Draws the specified image.
Public methodDrawImage(XImage, Point)
Draws the specified image.
Public methodDrawImage(XImage, PointF)
Draws the specified image.
Public methodDrawImage(XImage, Rectangle)
Draws the specified image.
Public methodDrawImage(XImage, RectangleF)
Draws the specified image.
Public methodDrawImage(XImage, Double, Double)
Draws the specified image.
Public methodDrawImage(XImage, XRect, XRect, XGraphicsUnit)
Draws the specified image.
Public methodDrawImage(XImage, Rectangle, Rectangle, XGraphicsUnit)
Draws the specified image.
Public methodDrawImage(XImage, RectangleF, RectangleF, XGraphicsUnit)
Draws the specified image.
Public methodDrawImage(XImage, Double, Double, Double, Double)
Draws the specified image.
Public methodDrawLine(XPen, XPoint, XPoint)
Draws a line connecting two XPoint structures.
Public methodDrawLine(XPen, Point, Point)
Draws a line connecting two Point structures.
Public methodDrawLine(XPen, PointF, PointF)
Draws a line connecting two GdiPointF structures.
Public methodDrawLine(XPen, Double, Double, Double, Double)
Draws a line connecting the two points specified by coordinate pairs.
Public methodDrawLines(XPen, XPoint)
Draws a series of line segments that connect an array of points.
Public methodDrawLines(XPen, Point)
Draws a series of line segments that connect an array of points.
Public methodDrawLines(XPen, PointF)
Draws a series of line segments that connect an array of points.
Public methodDrawLines(XPen, Double, Double, Double)
Draws a series of line segments that connect an array of x and y pairs.
Public methodDrawMatrixCode(MatrixCode, XPoint)
Draws the specified data matrix code.
Public methodDrawMatrixCode(MatrixCode, XBrush, XPoint)
Draws the specified data matrix code.
Public methodDrawPath(XBrush, XGraphicsPath)
Draws a graphical path.
Public methodDrawPath(XPen, XGraphicsPath)
Draws a graphical path.
Public methodDrawPath(XPen, XBrush, XGraphicsPath)
Draws a graphical path.
Public methodDrawPie(XBrush, XRect, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XBrush, Rectangle, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XBrush, RectangleF, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XPen, XRect, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XPen, Rectangle, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XPen, RectangleF, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XPen, XBrush, XRect, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XPen, XBrush, Rectangle, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XPen, XBrush, RectangleF, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XBrush, Double, Double, Double, Double, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XPen, Double, Double, Double, Double, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPie(XPen, XBrush, Double, Double, Double, Double, Double, Double)
Draws a pie defined by an ellipse.
Public methodDrawPolygon(XPen, XPoint)
Draws a polygon defined by an array of points.
Public methodDrawPolygon(XPen, Point)
Draws a polygon defined by an array of points.
Public methodDrawPolygon(XPen, PointF)
Draws a polygon defined by an array of points.
Public methodDrawPolygon(XBrush, XPoint, XFillMode)
Draws a polygon defined by an array of points.
Public methodDrawPolygon(XBrush, Point, XFillMode)
Draws a polygon defined by an array of points.
Public methodDrawPolygon(XBrush, PointF, XFillMode)
Draws a polygon defined by an array of points.
Public methodDrawPolygon(XPen, XBrush, XPoint, XFillMode)
Draws a polygon defined by an array of points.
Public methodDrawPolygon(XPen, XBrush, Point, XFillMode)
Draws a polygon defined by an array of points.
Public methodDrawPolygon(XPen, XBrush, PointF, XFillMode)
Draws a polygon defined by an array of points.
Public methodDrawRectangle(XBrush, XRect)
Draws a rectangle.
Public methodDrawRectangle(XBrush, Rectangle)
Draws a rectangle.
Public methodDrawRectangle(XBrush, RectangleF)
Draws a rectangle.
Public methodDrawRectangle(XPen, XRect)
Draws a rectangle.
Public methodDrawRectangle(XPen, Rectangle)
Draws a rectangle.
Public methodDrawRectangle(XPen, RectangleF)
Draws a rectangle.
Public methodDrawRectangle(XPen, XBrush, XRect)
Draws a rectangle.
Public methodDrawRectangle(XPen, XBrush, Rectangle)
Draws a rectangle.
Public methodDrawRectangle(XPen, XBrush, RectangleF)
Draws a rectangle.
Public methodDrawRectangle(XBrush, Double, Double, Double, Double)
Draws a rectangle.
Public methodDrawRectangle(XPen, Double, Double, Double, Double)
Draws a rectangle.
Public methodDrawRectangle(XPen, XBrush, Double, Double, Double, Double)
Draws a rectangle.
Public methodDrawRectangles(XBrush, XRect)
Draws a series of rectangles.
Public methodDrawRectangles(XBrush, Rectangle)
Draws a series of rectangles.
Public methodDrawRectangles(XBrush, RectangleF)
Draws a series of rectangles.
Public methodDrawRectangles(XPen, XRect)
Draws a series of rectangles.
Public methodDrawRectangles(XPen, Rectangle)
Draws a series of rectangles.
Public methodDrawRectangles(XPen, RectangleF)
Draws a series of rectangles.
Public methodDrawRectangles(XPen, XBrush, XRect)
Draws a series of rectangles.
Public methodDrawRectangles(XPen, XBrush, Rectangle)
Draws a series of rectangles.
Public methodDrawRectangles(XPen, XBrush, RectangleF)
Draws a series of rectangles.
Public methodDrawRoundedRectangle(XBrush, XRect, XSize)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XBrush, Rectangle, Size)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XBrush, RectangleF, SizeF)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XPen, XRect, XSize)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XPen, Rectangle, Size)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XPen, RectangleF, SizeF)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XPen, XBrush, XRect, XSize)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XPen, XBrush, Rectangle, Size)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XPen, XBrush, RectangleF, SizeF)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XBrush, Double, Double, Double, Double, Double, Double)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XPen, Double, Double, Double, Double, Double, Double)
Draws a rectangles with round corners.
Public methodDrawRoundedRectangle(XPen, XBrush, Double, Double, Double, Double, Double, Double)
Draws a rectangles with round corners.
Public methodDrawString(String, XFont, XBrush, XPoint)
Draws the specified text string.
Public methodDrawString(String, XFont, XBrush, XRect)
Draws the specified text string.
Public methodDrawString(String, XFont, XBrush, PointF)
Draws the specified text string.
Public methodDrawString(String, XFont, XBrush, RectangleF)
Draws the specified text string.
Public methodDrawString(String, XFont, XBrush, XPoint, XStringFormat)
Draws the specified text string.
Public methodDrawString(String, XFont, XBrush, XRect, XStringFormat)
Draws the specified text string.
Public methodDrawString(String, XFont, XBrush, Double, Double)
Draws the specified text string.
Public methodDrawString(String, XFont, XBrush, PointF, XStringFormat)
Draws the specified text string.
Public methodDrawString(String, XFont, XBrush, RectangleF, XStringFormat)
Draws the specified text string.
Public methodDrawString(String, XFont, XBrush, Double, Double, XStringFormat)
Draws the specified text string.
Public methodEndContainer
Closes the current graphics container and restores the state of this XGraphics to the state saved by a call to the BeginContainer method.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberFromForm
Creates a new instance of the XGraphics class from a PdfEdit.Drawing.XForm object.
Public methodStatic memberFromGraphics(Graphics, XSize)
Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
Public methodStatic memberFromGraphics(Graphics, XSize, XGraphicsUnit)
Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
Public methodStatic memberFromImage(XImage)
Creates a new instance of the XGraphics class from a PdfEdit.Drawing.XForm object.
Public methodStatic memberFromImage(XImage, XGraphicsUnit)
Creates a new instance of the XGraphics class from a PdfEdit.Drawing.XImage object.
Public methodStatic memberFromPdfForm
Creates a new instance of the XGraphics class from a PdfEdit.Drawing.XPdfForm object.
Public methodStatic memberFromPdfPage(PdfPage)
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
Public methodStatic memberFromPdfPage(PdfPage, XGraphicsPdfPageOptions)
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
Public methodStatic memberFromPdfPage(PdfPage, XGraphicsUnit)
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
Public methodStatic memberFromPdfPage(PdfPage, XPageDirection)
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
Public methodStatic memberFromPdfPage(PdfPage, XGraphicsPdfPageOptions, XGraphicsUnit)
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
Public methodStatic memberFromPdfPage(PdfPage, XGraphicsPdfPageOptions, XPageDirection)
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
Public methodStatic memberFromPdfPage(PdfPage, XGraphicsPdfPageOptions, XGraphicsUnit, XPageDirection)
Creates a new instance of the XGraphics class from a PdfEdit.Pdf.PdfPage object.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersectClip(Rectangle)
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
Public methodIntersectClip(RectangleF)
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
Public methodIntersectClip(XGraphicsPath)
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified graphical path.
Public methodIntersectClip(XRect)
Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
Public methodMeasureString(String, XFont)
Measures the specified string when drawn with the specified font.
Public methodMeasureString(String, XFont, XStringFormat)
Measures the specified string when drawn with the specified font.
Public methodMultiplyTransform(XMatrix)
Multiplies the transformation matrix of this object and specified matrix.
Public methodMultiplyTransform(XMatrix, XMatrixOrder)
Multiplies the transformation matrix of this object and specified matrix in the specified order.
Public methodRestore
Restores the state of this XGraphics object to the state before the most recently call of Save.
Public methodRestore(XGraphicsState)
Restores the state of this XGraphics object to the state represented by the specified XGraphicsState object.
Public methodRotateAtTransform(Double, XPoint)
Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
Public methodRotateAtTransform(Double, XPoint, XMatrixOrder)
Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
Public methodRotateTransform(Double)
Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
Public methodRotateTransform(Double, XMatrixOrder)
Applies the specified rotation operation to the transformation matrix of this object in the specified order. The angle unit of measure is degree.
Public methodSave
Saves the current state of this XGraphics object and identifies the saved state with the returned XGraphicsState object.
Public methodScaleAtTransform(Double, Double, XPoint)
Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
Public methodScaleAtTransform(Double, Double, Double, Double)
Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
Public methodScaleTransform(Double)
Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
Public methodScaleTransform(Double, XMatrixOrder)
Applies the specified scaling operation to the transformation matrix of this object in the specified order.
Public methodScaleTransform(Double, Double)
Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
Public methodScaleTransform(Double, Double, XMatrixOrder)
Applies the specified scaling operation to the transformation matrix of this object in the specified order.
Public methodShearTransform(Double, Double)
Applies the specified shearing operation to the transformation matrix of this object by prepending it to the object's transformation matrix. ShearTransform is a synonym for SkewAtTransform. Parameter shearX specifies the horizontal skew which is measured in degrees counterclockwise from the y-axis. Parameter shearY specifies the vertical skew which is measured in degrees counterclockwise from the x-axis.
Public methodShearTransform(Double, Double, XMatrixOrder)
Applies the specified shearing operation to the transformation matrix of this object in the specified order. ShearTransform is a synonym for SkewAtTransform. Parameter shearX specifies the horizontal skew which is measured in degrees counterclockwise from the y-axis. Parameter shearY specifies the vertical skew which is measured in degrees counterclockwise from the x-axis.
Public methodSkewAtTransform(Double, Double, XPoint)
Applies the specified shearing operation to the transformation matrix of this object by prepending it to the object's transformation matrix. ShearTransform is a synonym for SkewAtTransform. Parameter shearX specifies the horizontal skew which is measured in degrees counterclockwise from the y-axis. Parameter shearY specifies the vertical skew which is measured in degrees counterclockwise from the x-axis.
Public methodSkewAtTransform(Double, Double, Double, Double)
Applies the specified shearing operation to the transformation matrix of this object by prepending it to the object's transformation matrix. ShearTransform is a synonym for SkewAtTransform. Parameter shearX specifies the horizontal skew which is measured in degrees counterclockwise from the y-axis. Parameter shearY specifies the vertical skew which is measured in degrees counterclockwise from the x-axis.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTranslateTransform(Double, Double)
Applies the specified translation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
Public methodTranslateTransform(Double, Double, XMatrixOrder)
Applies the specified translation operation to the transformation matrix of this object in the specified order.
Public methodWriteComment
Writes a comment to the output stream. Comments have no effect on the rendering of the output. They may be useful to mark a position in a content stream of a PDF document.
Top
See Also

Reference