C# Class PdfSharp.Drawing.XGraphics

Represents a drawing surface (or canvas) for a fixed size page.
Inheritance: IDisposable
Afficher le fichier Open project: DavidS/MigraDoc Class Usage Examples

Private Properties

Свойство Type Description
AddTransform void
CheckXPdfFormConsistence void
Dispose void
DrawMissingImageRect void
Initialize void
MakePointArray System.Windows.Point[]
MakePointFArray PointF[]
MakePointFArray PointF[]
MakeXPointArray XPoint[]
MakeXPointArray XPoint[]
ResetClip void
ResetTransform void
SetClip void
SetClip void
SetClip void
SetClip void
SetClip void
SetClip void
XGraphics System
XGraphics System
XGraphics System
XGraphics System
XGraphics System

Méthodes publiques

Méthode Description
BeginContainer ( ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

BeginContainer ( Rect dstrect, Rect srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

BeginContainer ( Rectangle dstrect, Rectangle srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

BeginContainer ( RectangleF dstrect, RectangleF srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

BeginContainer ( PdfSharp.Drawing.XRect dstrect, PdfSharp.Drawing.XRect srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.

Clear ( XColor color ) : void

Fills the entire drawing surface with the specified color. The functions works only if the current transformation is identity, i.e. the function should be called only immediately after the XGraphics object was created.

CreateMeasureContext ( PdfSharp.Drawing.XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : XGraphics

Creates the measure context. This is a graphics context created only for querying measures of text. Drawing on a measure context has no effect.

Dispose ( ) : void

Releases all resources used by this object.

DrawArc ( PdfSharp.Drawing.XPen pen, Rectangle rect, double startAngle, double sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawArc ( PdfSharp.Drawing.XPen pen, RectangleF rect, double startAngle, double sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawArc ( PdfSharp.Drawing.XPen pen, PdfSharp.Drawing.XRect rect, double startAngle, double sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawArc ( PdfSharp.Drawing.XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawArc ( PdfSharp.Drawing.XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void

Draws an arc representing a portion of an ellipse.

DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XBrush brush, PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPoint position ) : void

Draws the specified bar code.

DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XBrush brush, PdfSharp.Drawing.XPoint position ) : void

Draws the specified bar code.

DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XPoint position ) : void

Draws the specified bar code.

DrawBezier ( PdfSharp.Drawing.XPen pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4 ) : void

Draws a Bézier spline defined by four points.

DrawBezier ( PdfSharp.Drawing.XPen pen, System pt1, System pt2, System pt3, System pt4 ) : void

Draws a Bézier spline defined by four points.

DrawBezier ( PdfSharp.Drawing.XPen pen, PdfSharp.Drawing.XPoint pt1, PdfSharp.Drawing.XPoint pt2, PdfSharp.Drawing.XPoint pt3, PdfSharp.Drawing.XPoint pt4 ) : void

Draws a Bézier spline defined by four points.

DrawBezier ( XPen pen, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4 ) : void

Draws a Bézier spline defined by four points.

DrawBeziers ( XPen pen, PointF points ) : void

Draws a series of Bézier splines from an array of points.

DrawBeziers ( XPen pen, System points ) : void

Draws a series of Bézier splines from an array of points.

DrawBeziers ( XPen pen, XPoint points ) : void

Draws a series of Bézier splines from an array of points.

DrawClosedCurve ( XBrush brush, PointF points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, PointF points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, PointF points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, System points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, System points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, System points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, XPoint points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, XPoint points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XBrush brush, XPoint points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, PointF points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, PointF points, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, System points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, System points, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, PointF points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, PointF points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, PointF points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, System points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, System points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, System points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, XPoint points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XPoint points ) : void

Draws a closed cardinal spline defined by an array of points.

DrawClosedCurve ( XPen pen, XPoint points, double tension ) : void

Draws a closed cardinal spline defined by an array of points.

DrawCurve ( XPen pen, PointF points ) : void

Draws a cardinal spline through a specified array of points.

DrawCurve ( XPen pen, PointF points, double tension ) : void

Draws a cardinal spline through a specified array of points using a specified tension.

DrawCurve ( XPen pen, System points ) : void

Draws a cardinal spline through a specified array of points.

DrawCurve ( XPen pen, System points, double tension ) : void

Draws a cardinal spline through a specified array of points using a specified tension.

DrawCurve ( XPen pen, XPoint points ) : void

Draws a cardinal spline through a specified array of points.

DrawCurve ( XPen pen, XPoint points, double tension ) : void

Draws a cardinal spline through a specified array of points using a specified tension.

DrawEllipse ( XBrush brush, Rectangle rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XBrush brush, RectangleF rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XBrush brush, XRect rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XBrush brush, double x, double y, double width, double height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XBrush brush, int x, int y, int width, int height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, Rectangle rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, RectangleF rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, Rectangle rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, RectangleF rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, XRect rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, double x, double y, double width, double height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XBrush brush, int x, int y, int width, int height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, XRect rect ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, double x, double y, double width, double height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawEllipse ( XPen pen, int x, int y, int width, int height ) : void

Draws an ellipse defined by a bounding rectangle.

DrawImage ( XImage image, PointF point ) : void

Draws the specified image.

DrawImage ( XImage image, Rectangle rect ) : void

Draws the specified image.

DrawImage ( XImage image, Rectangle destRect, Rectangle srcRect, XGraphicsUnit srcUnit ) : void

Draws the specified image.

DrawImage ( XImage image, RectangleF rect ) : void

Draws the specified image.

DrawImage ( XImage image, RectangleF destRect, RectangleF srcRect, XGraphicsUnit srcUnit ) : void

Draws the specified image.

DrawImage ( XImage image, System point ) : void

Draws the specified image.

DrawImage ( XImage image, XPoint point ) : void

Draws the specified image.

DrawImage ( XImage image, XRect rect ) : void

Draws the specified image.

DrawImage ( XImage image, XRect destRect, XRect srcRect, XGraphicsUnit srcUnit ) : void

Draws the specified image.

DrawImage ( XImage image, double x, double y ) : void

Draws the specified image.

DrawImage ( XImage image, double x, double y, double width, double height ) : void

Draws the specified image.

DrawImage ( XImage image, int x, int y ) : void

Draws the specified image.

DrawImage ( XImage image, int x, int y, int width, int height ) : void

Draws the specified image.

DrawLine ( XPen pen, PointF pt1, PointF pt2 ) : void

Draws a line connecting two PointF structures.

DrawLine ( XPen pen, System pt1, System pt2 ) : void

Draws a line connecting two Point structures.

DrawLine ( XPen pen, XPoint pt1, XPoint pt2 ) : void

Draws a line connecting two XPoint structures.

DrawLine ( XPen pen, double x1, double y1, double x2, double y2 ) : void

Draws a line connecting the two points specified by coordinate pairs.

DrawLine ( XPen pen, int x1, int y1, int x2, int y2 ) : void

Draws a line connecting the two points specified by coordinate pairs.

DrawLines ( XPen pen, PointF points ) : void

Draws a series of line segments that connect an array of points.

DrawLines ( XPen pen, System points ) : void

Draws a series of line segments that connect an array of points.

DrawLines ( XPen pen, XPoint points ) : void

Draws a series of line segments that connect an array of points.

DrawLines ( XPen pen, double x, double y ) : void

Draws a series of line segments that connect an array of x and y pairs.

DrawMatrixCode ( BarCodes matrixcode, XBrush brush, XPoint position ) : void

Draws the specified data matrix code.

DrawMatrixCode ( BarCodes matrixcode, XPoint position ) : void

Draws the specified data matrix code.

DrawPath ( XBrush brush, XGraphicsPath path ) : void

Draws a graphical path.

DrawPath ( XPen pen, XBrush brush, XGraphicsPath path ) : void

Draws a graphical path.

DrawPath ( XPen pen, XGraphicsPath path ) : void

Draws a graphical path.

DrawPie ( XBrush brush, Rectangle rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XBrush brush, RectangleF rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XBrush brush, XRect rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, Rectangle rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, RectangleF rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, Rectangle rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, RectangleF rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, XRect rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, XRect rect, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPie ( XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void

Draws a pie defined by an ellipse.

DrawPolygon ( XBrush brush, PointF points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XBrush brush, System points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XBrush brush, XPoint points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, PointF points ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, System points ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, XBrush brush, PointF points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, XBrush brush, System points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode ) : void

Draws a polygon defined by an array of points.

DrawPolygon ( XPen pen, XPoint points ) : void

Draws a polygon defined by an array of points.

DrawRectangle ( XBrush brush, Rectangle rect ) : void

Draws a rectangle.

DrawRectangle ( XBrush brush, RectangleF rect ) : void

Draws a rectangle.

DrawRectangle ( XBrush brush, XRect rect ) : void

Draws a rectangle.

DrawRectangle ( XBrush brush, double x, double y, double width, double height ) : void

Draws a rectangle.

DrawRectangle ( XBrush brush, int x, int y, int width, int height ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, Rectangle rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, RectangleF rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, Rectangle rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, RectangleF rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, XRect rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, double x, double y, double width, double height ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XBrush brush, int x, int y, int width, int height ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, XRect rect ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, double x, double y, double width, double height ) : void

Draws a rectangle.

DrawRectangle ( XPen pen, int x, int y, int width, int height ) : void

Draws a rectangle.

DrawRectangles ( XBrush brush, Rectangle rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XBrush brush, RectangleF rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XBrush brush, XRect rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, Rectangle rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, RectangleF rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, XBrush brush, Rectangle rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, XBrush brush, RectangleF rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, XBrush brush, XRect rectangles ) : void

Draws a series of rectangles.

DrawRectangles ( XPen pen, XRect rectangles ) : void

Draws a series of rectangles.

DrawRoundedRectangle ( XBrush brush, Rect rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, Rectangle rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, RectangleF rect, SizeF ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, XRect rect, XSize ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, Rect rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, Rectangle rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, RectangleF rect, SizeF ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, Rect rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, Rectangle rect, System ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, RectangleF rect, SizeF ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, XRect rect, XSize ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, XRect rect, XSize ellipseSize ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void

Draws a rectangles with round corners.

DrawRoundedRectangle ( XPen pen, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void

Draws a rectangles with round corners.

DrawString ( string s, XFont font, XBrush brush, PointF point ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, PointF point, XStringFormat format ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, RectangleF layoutRectangle ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, RectangleF layoutRectangle, XStringFormat format ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, XPoint point ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, XPoint point, XStringFormat format ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, XRect layoutRectangle ) : void

Draws the specified text string.

DrawString ( string text, XFont font, XBrush brush, XRect layoutRectangle, XStringFormat format ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, double x, double y ) : void

Draws the specified text string.

DrawString ( string s, XFont font, XBrush brush, double x, double y, XStringFormat format ) : void

Draws the specified text string.

EndContainer ( XGraphicsContainer container ) : void

Closes the current graphics container and restores the state of this XGraphics to the state saved by a call to the BeginContainer method.

ExcludeClip ( Rectangle rect ) : void
ExcludeClip ( RectangleF rect ) : void
ExcludeClip ( XRect rect ) : void
FromCanvas ( Canvas canvas, XSize size, XGraphicsUnit unit ) : XGraphics

Creates a new instance of the XGraphics class from a System.Windows.Media.DrawingContext object.

FromDrawingContext ( DrawingContext drawingContext, XSize size, XGraphicsUnit unit ) : XGraphics

Creates a new instance of the XGraphics class from a System.Windows.Media.DrawingContext object.

FromForm ( XForm form ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XForm object.

FromGraphics ( Graphics graphics, XSize size ) : XGraphics

Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.

FromGraphics ( Graphics graphics, XSize size, XGraphicsUnit unit ) : XGraphics

Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.

FromPdfForm ( XPdfForm form ) : XGraphics

Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XPdfForm object.

FromPdfPage ( PdfPage page ) : XGraphics

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

FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options ) : XGraphics

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

FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit ) : XGraphics

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

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

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

FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XPageDirection pageDirection ) : XGraphics

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

FromPdfPage ( PdfPage page, XGraphicsUnit unit ) : XGraphics

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

FromPdfPage ( PdfPage page, XPageDirection pageDirection ) : XGraphics

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

IntersectClip ( Rectangle rect ) : void

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.

IntersectClip ( RectangleF rect ) : void

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.

IntersectClip ( XGraphicsPath path ) : void

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified graphical path.

IntersectClip ( XRect rect ) : void

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.

MeasureString ( string text, XFont font ) : XSize

Measures the specified string when drawn with the specified font.

MeasureString ( string text, XFont font, XStringFormat stringFormat ) : XSize

Measures the specified string when drawn with the specified font.

MultiplyTransform ( XMatrix matrix ) : void

Multiplies the transformation matrix of this object and specified matrix.

MultiplyTransform ( XMatrix matrix, XMatrixOrder order ) : void

Multiplies the transformation matrix of this object and specified matrix in the specified order.

Restore ( ) : void

Restores the state of this XGraphics object to the state before the most recently call of Save.

Restore ( XGraphicsState state ) : void

Restores the state of this XGraphics object to the state represented by the specified XGraphicsState object.

RotateAtTransform ( double angle, XPoint point ) : void

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

RotateAtTransform ( double angle, XPoint point, XMatrixOrder order ) : void

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

RotateTransform ( double angle ) : void

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

RotateTransform ( double angle, XMatrixOrder order ) : void

Applies the specified rotation operation to the transformation matrix of this object in the specified order. The angle unit of measure is degree.

Save ( ) : XGraphicsState

Saves the current state of this XGraphics object and identifies the saved state with the returned XGraphicsState object.

ScaleTransform ( double scaleXY ) : void

Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

ScaleTransform ( double scaleXY, XMatrixOrder order ) : void

Applies the specified scaling operation to the transformation matrix of this object in the specified order.

ScaleTransform ( double scaleX, double scaleY ) : void

Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

ScaleTransform ( double scaleX, double scaleY, XMatrixOrder order ) : void

Applies the specified scaling operation to the transformation matrix of this object in the specified order.

ShearTransform ( double shearX, double shearY ) : void

Applies the specified shearing operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

ShearTransform ( double shearX, double shearY, XMatrixOrder order ) : void

Applies the specified shearing operation to the transformation matrix of this object in the specified order.

TranslateTransform ( double dx, double dy ) : void

Applies the specified translation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.

TranslateTransform ( double dx, double dy, XMatrixOrder order ) : void

Applies the specified translation operation to the transformation matrix of this object in the specified order.

WriteComment ( string comment ) : void

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.

Private Methods

Méthode Description
AddTransform ( PdfSharp.Drawing.XMatrix transform, XMatrixOrder order ) : void

Gets or sets the transformation matrix.

CheckXPdfFormConsistence ( PdfSharp.Drawing.XImage image ) : void

Checks whether drawing is allowed and disposes the XGraphics object, if necessary.

Dispose ( bool disposing ) : void
DrawMissingImageRect ( XRect rect ) : void
Initialize ( ) : void

Internal setup.

MakePointArray ( XPoint points ) : System.Windows.Point[]

Converts an XPoint[] into a Point[].

MakePointFArray ( System points ) : PointF[]

Converts a Point[] into a PointF[].

MakePointFArray ( XPoint points ) : PointF[]

Converts a XPoint[] into a PointF[].

MakeXPointArray ( PointF points ) : XPoint[]

Converts a PointF[] into a XPoint[].

MakeXPointArray ( System points ) : XPoint[]

Converts a Point[] into a XPoint[].

ResetClip ( ) : void
ResetTransform ( ) : void
SetClip ( Rectangle rect ) : void
SetClip ( RectangleF rect ) : void
SetClip ( XGraphicsPath path ) : void
SetClip ( XGraphicsPath path, XCombineMode combineMode ) : void
SetClip ( XRect rect ) : void
SetClip ( XRect rect, XCombineMode combineMode ) : void
XGraphics ( Canvas canvas, XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : System

Initializes a new instance of the XGraphics class.

XGraphics ( DrawingContext dc, XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : System

Initializes a new instance of the XGraphics class.

XGraphics ( Graphics gfx, XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : System

Initializes a new instance of the XGraphics class.

XGraphics ( PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : System

Initializes a new instance of the XGraphics class for drawing on a PDF page.

XGraphics ( XForm form ) : System

Initializes a new instance of the XGraphics class used for drawing on a form.

Method Details

BeginContainer() public méthode

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( ) : PdfSharp.Drawing.XGraphicsContainer
Résultat PdfSharp.Drawing.XGraphicsContainer

BeginContainer() public méthode

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( Rect dstrect, Rect srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer
dstrect Rect
srcrect Rect
unit XGraphicsUnit
Résultat PdfSharp.Drawing.XGraphicsContainer

BeginContainer() public méthode

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( Rectangle dstrect, Rectangle srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer
dstrect System.Drawing.Rectangle
srcrect System.Drawing.Rectangle
unit XGraphicsUnit
Résultat PdfSharp.Drawing.XGraphicsContainer

BeginContainer() public méthode

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( RectangleF dstrect, RectangleF srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer
dstrect System.Drawing.RectangleF
srcrect System.Drawing.RectangleF
unit XGraphicsUnit
Résultat PdfSharp.Drawing.XGraphicsContainer

BeginContainer() public méthode

Saves a graphics container with the current state of this XGraphics and opens and uses a new graphics container.
public BeginContainer ( PdfSharp.Drawing.XRect dstrect, PdfSharp.Drawing.XRect srcrect, XGraphicsUnit unit ) : PdfSharp.Drawing.XGraphicsContainer
dstrect PdfSharp.Drawing.XRect
srcrect PdfSharp.Drawing.XRect
unit XGraphicsUnit
Résultat PdfSharp.Drawing.XGraphicsContainer

Clear() public méthode

Fills the entire drawing surface with the specified color. The functions works only if the current transformation is identity, i.e. the function should be called only immediately after the XGraphics object was created.
public Clear ( XColor color ) : void
color XColor
Résultat void

CreateMeasureContext() public static méthode

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 static CreateMeasureContext ( PdfSharp.Drawing.XSize size, XGraphicsUnit pageUnit, XPageDirection pageDirection ) : XGraphics
size PdfSharp.Drawing.XSize
pageUnit XGraphicsUnit
pageDirection XPageDirection
Résultat XGraphics

Dispose() public méthode

Releases all resources used by this object.
public Dispose ( ) : void
Résultat void

DrawArc() public méthode

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, Rectangle rect, double startAngle, double sweepAngle ) : void
pen PdfSharp.Drawing.XPen
rect System.Drawing.Rectangle
startAngle double
sweepAngle double
Résultat void

DrawArc() public méthode

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, RectangleF rect, double startAngle, double sweepAngle ) : void
pen PdfSharp.Drawing.XPen
rect System.Drawing.RectangleF
startAngle double
sweepAngle double
Résultat void

DrawArc() public méthode

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, PdfSharp.Drawing.XRect rect, double startAngle, double sweepAngle ) : void
pen PdfSharp.Drawing.XPen
rect PdfSharp.Drawing.XRect
startAngle double
sweepAngle double
Résultat void

DrawArc() public méthode

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void
pen PdfSharp.Drawing.XPen
x double
y double
width double
height double
startAngle double
sweepAngle double
Résultat void

DrawArc() public méthode

Draws an arc representing a portion of an ellipse.
public DrawArc ( PdfSharp.Drawing.XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void
pen PdfSharp.Drawing.XPen
x int
y int
width int
height int
startAngle int
sweepAngle int
Résultat void

DrawBarCode() public méthode

Draws the specified bar code.
public DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XBrush brush, PdfSharp.Drawing.XFont font, PdfSharp.Drawing.XPoint position ) : void
barcode BarCodes
brush PdfSharp.Drawing.XBrush
font PdfSharp.Drawing.XFont
position PdfSharp.Drawing.XPoint
Résultat void

DrawBarCode() public méthode

Draws the specified bar code.
public DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XBrush brush, PdfSharp.Drawing.XPoint position ) : void
barcode BarCodes
brush PdfSharp.Drawing.XBrush
position PdfSharp.Drawing.XPoint
Résultat void

DrawBarCode() public méthode

Draws the specified bar code.
public DrawBarCode ( BarCodes barcode, PdfSharp.Drawing.XPoint position ) : void
barcode BarCodes
position PdfSharp.Drawing.XPoint
Résultat void

DrawBezier() public méthode

Draws a Bézier spline defined by four points.
public DrawBezier ( PdfSharp.Drawing.XPen pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4 ) : void
pen PdfSharp.Drawing.XPen
pt1 System.Drawing.PointF
pt2 System.Drawing.PointF
pt3 System.Drawing.PointF
pt4 System.Drawing.PointF
Résultat void

DrawBezier() public méthode

Draws a Bézier spline defined by four points.
public DrawBezier ( PdfSharp.Drawing.XPen pen, System pt1, System pt2, System pt3, System pt4 ) : void
pen PdfSharp.Drawing.XPen
pt1 System
pt2 System
pt3 System
pt4 System
Résultat void

DrawBezier() public méthode

Draws a Bézier spline defined by four points.
public DrawBezier ( PdfSharp.Drawing.XPen pen, PdfSharp.Drawing.XPoint pt1, PdfSharp.Drawing.XPoint pt2, PdfSharp.Drawing.XPoint pt3, PdfSharp.Drawing.XPoint pt4 ) : void
pen PdfSharp.Drawing.XPen
pt1 PdfSharp.Drawing.XPoint
pt2 PdfSharp.Drawing.XPoint
pt3 PdfSharp.Drawing.XPoint
pt4 PdfSharp.Drawing.XPoint
Résultat void

DrawBezier() public méthode

Draws a Bézier spline defined by four points.
public DrawBezier ( XPen pen, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4 ) : void
pen XPen
x1 double
y1 double
x2 double
y2 double
x3 double
y3 double
x4 double
y4 double
Résultat void

DrawBeziers() public méthode

Draws a series of Bézier splines from an array of points.
public DrawBeziers ( XPen pen, PointF points ) : void
pen XPen
points PointF
Résultat void

DrawBeziers() public méthode

Draws a series of Bézier splines from an array of points.
public DrawBeziers ( XPen pen, System points ) : void
pen XPen
points System
Résultat void

DrawBeziers() public méthode

Draws a series of Bézier splines from an array of points.
public DrawBeziers ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, PointF points ) : void
brush XBrush
points PointF
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, PointF points, XFillMode fillmode ) : void
brush XBrush
points PointF
fillmode XFillMode
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, PointF points, XFillMode fillmode, double tension ) : void
brush XBrush
points PointF
fillmode XFillMode
tension double
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, System points ) : void
brush XBrush
points System
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, System points, XFillMode fillmode ) : void
brush XBrush
points System
fillmode XFillMode
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, System points, XFillMode fillmode, double tension ) : void
brush XBrush
points System
fillmode XFillMode
tension double
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, XPoint points ) : void
brush XBrush
points XPoint
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, XPoint points, XFillMode fillmode ) : void
brush XBrush
points XPoint
fillmode XFillMode
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XBrush brush, XPoint points, XFillMode fillmode, double tension ) : void
brush XBrush
points XPoint
fillmode XFillMode
tension double
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, PointF points ) : void
pen XPen
points PointF
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, PointF points, double tension ) : void
pen XPen
points PointF
tension double
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, System points ) : void
pen XPen
points System
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, System points, double tension ) : void
pen XPen
points System
tension double
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, PointF points ) : void
pen XPen
brush XBrush
points PointF
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, PointF points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points PointF
fillmode XFillMode
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, PointF points, XFillMode fillmode, double tension ) : void
pen XPen
brush XBrush
points PointF
fillmode XFillMode
tension double
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, System points ) : void
pen XPen
brush XBrush
points System
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, System points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points System
fillmode XFillMode
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, System points, XFillMode fillmode, double tension ) : void
pen XPen
brush XBrush
points System
fillmode XFillMode
tension double
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, XPoint points ) : void
pen XPen
brush XBrush
points XPoint
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points XPoint
fillmode XFillMode
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode, double tension ) : void
pen XPen
brush XBrush
points XPoint
fillmode XFillMode
tension double
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
Résultat void

DrawClosedCurve() public méthode

Draws a closed cardinal spline defined by an array of points.
public DrawClosedCurve ( XPen pen, XPoint points, double tension ) : void
pen XPen
points XPoint
tension double
Résultat void

DrawCurve() public méthode

Draws a cardinal spline through a specified array of points.
public DrawCurve ( XPen pen, PointF points ) : void
pen XPen
points PointF
Résultat void

DrawCurve() public méthode

Draws a cardinal spline through a specified array of points using a specified tension.
public DrawCurve ( XPen pen, PointF points, double tension ) : void
pen XPen
points PointF
tension double
Résultat void

DrawCurve() public méthode

Draws a cardinal spline through a specified array of points.
public DrawCurve ( XPen pen, System points ) : void
pen XPen
points System
Résultat void

DrawCurve() public méthode

Draws a cardinal spline through a specified array of points using a specified tension.
public DrawCurve ( XPen pen, System points, double tension ) : void
pen XPen
points System
tension double
Résultat void

DrawCurve() public méthode

Draws a cardinal spline through a specified array of points.
public DrawCurve ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
Résultat void

DrawCurve() public méthode

Draws a cardinal spline through a specified array of points using a specified tension.
public DrawCurve ( XPen pen, XPoint points, double tension ) : void
pen XPen
points XPoint
tension double
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, Rectangle rect ) : void
brush XBrush
rect Rectangle
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, RectangleF rect ) : void
brush XBrush
rect RectangleF
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, XRect rect ) : void
brush XBrush
rect XRect
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, double x, double y, double width, double height ) : void
brush XBrush
x double
y double
width double
height double
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XBrush brush, int x, int y, int width, int height ) : void
brush XBrush
x int
y int
width int
height int
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, Rectangle rect ) : void
pen XPen
rect Rectangle
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, RectangleF rect ) : void
pen XPen
rect RectangleF
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, Rectangle rect ) : void
pen XPen
brush XBrush
rect Rectangle
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, RectangleF rect ) : void
pen XPen
brush XBrush
rect RectangleF
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, XRect rect ) : void
pen XPen
brush XBrush
rect XRect
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, double x, double y, double width, double height ) : void
pen XPen
brush XBrush
x double
y double
width double
height double
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XBrush brush, int x, int y, int width, int height ) : void
pen XPen
brush XBrush
x int
y int
width int
height int
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, XRect rect ) : void
pen XPen
rect XRect
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, double x, double y, double width, double height ) : void
pen XPen
x double
y double
width double
height double
Résultat void

DrawEllipse() public méthode

Draws an ellipse defined by a bounding rectangle.
public DrawEllipse ( XPen pen, int x, int y, int width, int height ) : void
pen XPen
x int
y int
width int
height int
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, PointF point ) : void
image XImage
point PointF
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, Rectangle rect ) : void
image XImage
rect Rectangle
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, Rectangle destRect, Rectangle srcRect, XGraphicsUnit srcUnit ) : void
image XImage
destRect Rectangle
srcRect Rectangle
srcUnit XGraphicsUnit
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, RectangleF rect ) : void
image XImage
rect RectangleF
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, RectangleF destRect, RectangleF srcRect, XGraphicsUnit srcUnit ) : void
image XImage
destRect RectangleF
srcRect RectangleF
srcUnit XGraphicsUnit
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, System point ) : void
image XImage
point System
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, XPoint point ) : void
image XImage
point XPoint
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, XRect rect ) : void
image XImage
rect XRect
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, XRect destRect, XRect srcRect, XGraphicsUnit srcUnit ) : void
image XImage
destRect XRect
srcRect XRect
srcUnit XGraphicsUnit
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, double x, double y ) : void
image XImage
x double
y double
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, double x, double y, double width, double height ) : void
image XImage
x double
y double
width double
height double
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, int x, int y ) : void
image XImage
x int
y int
Résultat void

DrawImage() public méthode

Draws the specified image.
public DrawImage ( XImage image, int x, int y, int width, int height ) : void
image XImage
x int
y int
width int
height int
Résultat void

DrawLine() public méthode

Draws a line connecting two PointF structures.
public DrawLine ( XPen pen, PointF pt1, PointF pt2 ) : void
pen XPen
pt1 PointF
pt2 PointF
Résultat void

DrawLine() public méthode

Draws a line connecting two Point structures.
public DrawLine ( XPen pen, System pt1, System pt2 ) : void
pen XPen
pt1 System
pt2 System
Résultat void

DrawLine() public méthode

Draws a line connecting two XPoint structures.
public DrawLine ( XPen pen, XPoint pt1, XPoint pt2 ) : void
pen XPen
pt1 XPoint
pt2 XPoint
Résultat void

DrawLine() public méthode

Draws a line connecting the two points specified by coordinate pairs.
public DrawLine ( XPen pen, double x1, double y1, double x2, double y2 ) : void
pen XPen
x1 double
y1 double
x2 double
y2 double
Résultat void

DrawLine() public méthode

Draws a line connecting the two points specified by coordinate pairs.
public DrawLine ( XPen pen, int x1, int y1, int x2, int y2 ) : void
pen XPen
x1 int
y1 int
x2 int
y2 int
Résultat void

DrawLines() public méthode

Draws a series of line segments that connect an array of points.
public DrawLines ( XPen pen, PointF points ) : void
pen XPen
points PointF
Résultat void

DrawLines() public méthode

Draws a series of line segments that connect an array of points.
public DrawLines ( XPen pen, System points ) : void
pen XPen
points System
Résultat void

DrawLines() public méthode

Draws a series of line segments that connect an array of points.
public DrawLines ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
Résultat void

DrawLines() public méthode

Draws a series of line segments that connect an array of x and y pairs.
public DrawLines ( XPen pen, double x, double y ) : void
pen XPen
x double
y double
Résultat void

DrawMatrixCode() public méthode

Draws the specified data matrix code.
public DrawMatrixCode ( BarCodes matrixcode, XBrush brush, XPoint position ) : void
matrixcode BarCodes
brush XBrush
position XPoint
Résultat void

DrawMatrixCode() public méthode

Draws the specified data matrix code.
public DrawMatrixCode ( BarCodes matrixcode, XPoint position ) : void
matrixcode BarCodes
position XPoint
Résultat void

DrawPath() public méthode

Draws a graphical path.
public DrawPath ( XBrush brush, XGraphicsPath path ) : void
brush XBrush
path XGraphicsPath
Résultat void

DrawPath() public méthode

Draws a graphical path.
public DrawPath ( XPen pen, XBrush brush, XGraphicsPath path ) : void
pen XPen
brush XBrush
path XGraphicsPath
Résultat void

DrawPath() public méthode

Draws a graphical path.
public DrawPath ( XPen pen, XGraphicsPath path ) : void
pen XPen
path XGraphicsPath
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, Rectangle rect, double startAngle, double sweepAngle ) : void
brush XBrush
rect Rectangle
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, RectangleF rect, double startAngle, double sweepAngle ) : void
brush XBrush
rect RectangleF
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, XRect rect, double startAngle, double sweepAngle ) : void
brush XBrush
rect XRect
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void
brush XBrush
x double
y double
width double
height double
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void
brush XBrush
x int
y int
width int
height int
startAngle int
sweepAngle int
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, Rectangle rect, double startAngle, double sweepAngle ) : void
pen XPen
rect Rectangle
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, RectangleF rect, double startAngle, double sweepAngle ) : void
pen XPen
rect RectangleF
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, Rectangle rect, double startAngle, double sweepAngle ) : void
pen XPen
brush XBrush
rect Rectangle
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, RectangleF rect, double startAngle, double sweepAngle ) : void
pen XPen
brush XBrush
rect RectangleF
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, XRect rect, double startAngle, double sweepAngle ) : void
pen XPen
brush XBrush
rect XRect
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void
pen XPen
brush XBrush
x double
y double
width double
height double
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XBrush brush, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void
pen XPen
brush XBrush
x int
y int
width int
height int
startAngle int
sweepAngle int
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, XRect rect, double startAngle, double sweepAngle ) : void
pen XPen
rect XRect
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, double x, double y, double width, double height, double startAngle, double sweepAngle ) : void
pen XPen
x double
y double
width double
height double
startAngle double
sweepAngle double
Résultat void

DrawPie() public méthode

Draws a pie defined by an ellipse.
public DrawPie ( XPen pen, int x, int y, int width, int height, int startAngle, int sweepAngle ) : void
pen XPen
x int
y int
width int
height int
startAngle int
sweepAngle int
Résultat void

DrawPolygon() public méthode

Draws a polygon defined by an array of points.
public DrawPolygon ( XBrush brush, PointF points, XFillMode fillmode ) : void
brush XBrush
points PointF
fillmode XFillMode
Résultat void

DrawPolygon() public méthode

Draws a polygon defined by an array of points.
public DrawPolygon ( XBrush brush, System points, XFillMode fillmode ) : void
brush XBrush
points System
fillmode XFillMode
Résultat void

DrawPolygon() public méthode

Draws a polygon defined by an array of points.
public DrawPolygon ( XBrush brush, XPoint points, XFillMode fillmode ) : void
brush XBrush
points XPoint
fillmode XFillMode
Résultat void

DrawPolygon() public méthode

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, PointF points ) : void
pen XPen
points PointF
Résultat void

DrawPolygon() public méthode

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, System points ) : void
pen XPen
points System
Résultat void

DrawPolygon() public méthode

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, XBrush brush, PointF points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points PointF
fillmode XFillMode
Résultat void

DrawPolygon() public méthode

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, XBrush brush, System points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points System
fillmode XFillMode
Résultat void

DrawPolygon() public méthode

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, XBrush brush, XPoint points, XFillMode fillmode ) : void
pen XPen
brush XBrush
points XPoint
fillmode XFillMode
Résultat void

DrawPolygon() public méthode

Draws a polygon defined by an array of points.
public DrawPolygon ( XPen pen, XPoint points ) : void
pen XPen
points XPoint
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XBrush brush, Rectangle rect ) : void
brush XBrush
rect Rectangle
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XBrush brush, RectangleF rect ) : void
brush XBrush
rect RectangleF
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XBrush brush, XRect rect ) : void
brush XBrush
rect XRect
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XBrush brush, double x, double y, double width, double height ) : void
brush XBrush
x double
y double
width double
height double
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XBrush brush, int x, int y, int width, int height ) : void
brush XBrush
x int
y int
width int
height int
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, Rectangle rect ) : void
pen XPen
rect Rectangle
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, RectangleF rect ) : void
pen XPen
rect RectangleF
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, Rectangle rect ) : void
pen XPen
brush XBrush
rect Rectangle
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, RectangleF rect ) : void
pen XPen
brush XBrush
rect RectangleF
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, XRect rect ) : void
pen XPen
brush XBrush
rect XRect
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, double x, double y, double width, double height ) : void
pen XPen
brush XBrush
x double
y double
width double
height double
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, XBrush brush, int x, int y, int width, int height ) : void
pen XPen
brush XBrush
x int
y int
width int
height int
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, XRect rect ) : void
pen XPen
rect XRect
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, double x, double y, double width, double height ) : void
pen XPen
x double
y double
width double
height double
Résultat void

DrawRectangle() public méthode

Draws a rectangle.
public DrawRectangle ( XPen pen, int x, int y, int width, int height ) : void
pen XPen
x int
y int
width int
height int
Résultat void

DrawRectangles() public méthode

Draws a series of rectangles.
public DrawRectangles ( XBrush brush, Rectangle rectangles ) : void
brush XBrush
rectangles Rectangle
Résultat void

DrawRectangles() public méthode

Draws a series of rectangles.
public DrawRectangles ( XBrush brush, RectangleF rectangles ) : void
brush XBrush
rectangles RectangleF
Résultat void

DrawRectangles() public méthode

Draws a series of rectangles.
public DrawRectangles ( XBrush brush, XRect rectangles ) : void
brush XBrush
rectangles XRect
Résultat void

DrawRectangles() public méthode

Draws a series of rectangles.
public DrawRectangles ( XPen pen, Rectangle rectangles ) : void
pen XPen
rectangles Rectangle
Résultat void

DrawRectangles() public méthode

Draws a series of rectangles.
public DrawRectangles ( XPen pen, RectangleF rectangles ) : void
pen XPen
rectangles RectangleF
Résultat void

DrawRectangles() public méthode

Draws a series of rectangles.
public DrawRectangles ( XPen pen, XBrush brush, Rectangle rectangles ) : void
pen XPen
brush XBrush
rectangles Rectangle
Résultat void

DrawRectangles() public méthode

Draws a series of rectangles.
public DrawRectangles ( XPen pen, XBrush brush, RectangleF rectangles ) : void
pen XPen
brush XBrush
rectangles RectangleF
Résultat void

DrawRectangles() public méthode

Draws a series of rectangles.
public DrawRectangles ( XPen pen, XBrush brush, XRect rectangles ) : void
pen XPen
brush XBrush
rectangles XRect
Résultat void

DrawRectangles() public méthode

Draws a series of rectangles.
public DrawRectangles ( XPen pen, XRect rectangles ) : void
pen XPen
rectangles XRect
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, Rect rect, System ellipseSize ) : void
brush XBrush
rect Rect
ellipseSize System
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, Rectangle rect, System ellipseSize ) : void
brush XBrush
rect Rectangle
ellipseSize System
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, RectangleF rect, SizeF ellipseSize ) : void
brush XBrush
rect RectangleF
ellipseSize SizeF
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, XRect rect, XSize ellipseSize ) : void
brush XBrush
rect XRect
ellipseSize XSize
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void
brush XBrush
x double
y double
width double
height double
ellipseWidth double
ellipseHeight double
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void
brush XBrush
x int
y int
width int
height int
ellipseWidth int
ellipseHeight int
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, Rect rect, System ellipseSize ) : void
pen XPen
rect Rect
ellipseSize System
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, Rectangle rect, System ellipseSize ) : void
pen XPen
rect Rectangle
ellipseSize System
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, RectangleF rect, SizeF ellipseSize ) : void
pen XPen
rect RectangleF
ellipseSize SizeF
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, Rect rect, System ellipseSize ) : void
pen XPen
brush XBrush
rect Rect
ellipseSize System
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, Rectangle rect, System ellipseSize ) : void
pen XPen
brush XBrush
rect Rectangle
ellipseSize System
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, RectangleF rect, SizeF ellipseSize ) : void
pen XPen
brush XBrush
rect RectangleF
ellipseSize SizeF
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, XRect rect, XSize ellipseSize ) : void
pen XPen
brush XBrush
rect XRect
ellipseSize XSize
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void
pen XPen
brush XBrush
x double
y double
width double
height double
ellipseWidth double
ellipseHeight double
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XBrush brush, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void
pen XPen
brush XBrush
x int
y int
width int
height int
ellipseWidth int
ellipseHeight int
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, XRect rect, XSize ellipseSize ) : void
pen XPen
rect XRect
ellipseSize XSize
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight ) : void
pen XPen
x double
y double
width double
height double
ellipseWidth double
ellipseHeight double
Résultat void

DrawRoundedRectangle() public méthode

Draws a rectangles with round corners.
public DrawRoundedRectangle ( XPen pen, int x, int y, int width, int height, int ellipseWidth, int ellipseHeight ) : void
pen XPen
x int
y int
width int
height int
ellipseWidth int
ellipseHeight int
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, PointF point ) : void
s string
font XFont
brush XBrush
point PointF
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, PointF point, XStringFormat format ) : void
s string
font XFont
brush XBrush
point PointF
format XStringFormat
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, RectangleF layoutRectangle ) : void
s string
font XFont
brush XBrush
layoutRectangle RectangleF
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, RectangleF layoutRectangle, XStringFormat format ) : void
s string
font XFont
brush XBrush
layoutRectangle RectangleF
format XStringFormat
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, XPoint point ) : void
s string
font XFont
brush XBrush
point XPoint
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, XPoint point, XStringFormat format ) : void
s string
font XFont
brush XBrush
point XPoint
format XStringFormat
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, XRect layoutRectangle ) : void
s string
font XFont
brush XBrush
layoutRectangle XRect
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string text, XFont font, XBrush brush, XRect layoutRectangle, XStringFormat format ) : void
text string
font XFont
brush XBrush
layoutRectangle XRect
format XStringFormat
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, double x, double y ) : void
s string
font XFont
brush XBrush
x double
y double
Résultat void

DrawString() public méthode

Draws the specified text string.
public DrawString ( string s, XFont font, XBrush brush, double x, double y, XStringFormat format ) : void
s string
font XFont
brush XBrush
x double
y double
format XStringFormat
Résultat void

EndContainer() public méthode

Closes the current graphics container and restores the state of this XGraphics to the state saved by a call to the BeginContainer method.
public EndContainer ( XGraphicsContainer container ) : void
container XGraphicsContainer
Résultat void

ExcludeClip() public méthode

public ExcludeClip ( Rectangle rect ) : void
rect Rectangle
Résultat void

ExcludeClip() public méthode

public ExcludeClip ( RectangleF rect ) : void
rect RectangleF
Résultat void

ExcludeClip() public méthode

public ExcludeClip ( XRect rect ) : void
rect XRect
Résultat void

FromCanvas() public static méthode

Creates a new instance of the XGraphics class from a System.Windows.Media.DrawingContext object.
public static FromCanvas ( Canvas canvas, XSize size, XGraphicsUnit unit ) : XGraphics
canvas Canvas
size XSize
unit XGraphicsUnit
Résultat XGraphics

FromDrawingContext() public static méthode

Creates a new instance of the XGraphics class from a System.Windows.Media.DrawingContext object.
public static FromDrawingContext ( DrawingContext drawingContext, XSize size, XGraphicsUnit unit ) : XGraphics
drawingContext DrawingContext
size XSize
unit XGraphicsUnit
Résultat XGraphics

FromForm() public static méthode

Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XForm object.
public static FromForm ( XForm form ) : XGraphics
form XForm
Résultat XGraphics

FromGraphics() public static méthode

Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
public static FromGraphics ( Graphics graphics, XSize size ) : XGraphics
graphics Graphics
size XSize
Résultat XGraphics

FromGraphics() public static méthode

Creates a new instance of the XGraphics class from a System.Drawing.Graphics object.
public static FromGraphics ( Graphics graphics, XSize size, XGraphicsUnit unit ) : XGraphics
graphics Graphics
size XSize
unit XGraphicsUnit
Résultat XGraphics

FromPdfForm() public static méthode

Creates a new instance of the XGraphics class from a PdfSharp.Drawing.XPdfForm object.
public static FromPdfForm ( XPdfForm form ) : XGraphics
form XPdfForm
Résultat XGraphics

FromPdfPage() public static méthode

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page ) : XGraphics
page PdfPage
Résultat XGraphics

FromPdfPage() public static méthode

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options ) : XGraphics
page PdfPage
options XGraphicsPdfPageOptions
Résultat XGraphics

FromPdfPage() public static méthode

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit ) : XGraphics
page PdfPage
options XGraphicsPdfPageOptions
unit XGraphicsUnit
Résultat XGraphics

FromPdfPage() public static méthode

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XGraphicsUnit unit, XPageDirection pageDirection ) : XGraphics
page PdfPage
options XGraphicsPdfPageOptions
unit XGraphicsUnit
pageDirection XPageDirection
Résultat XGraphics

FromPdfPage() public static méthode

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsPdfPageOptions options, XPageDirection pageDirection ) : XGraphics
page PdfPage
options XGraphicsPdfPageOptions
pageDirection XPageDirection
Résultat XGraphics

FromPdfPage() public static méthode

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XGraphicsUnit unit ) : XGraphics
page PdfPage
unit XGraphicsUnit
Résultat XGraphics

FromPdfPage() public static méthode

Creates a new instance of the XGraphics class from a PdfSharp.Pdf.PdfPage object.
public static FromPdfPage ( PdfPage page, XPageDirection pageDirection ) : XGraphics
page PdfPage
pageDirection XPageDirection
Résultat XGraphics

IntersectClip() public méthode

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
public IntersectClip ( Rectangle rect ) : void
rect Rectangle
Résultat void

IntersectClip() public méthode

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
public IntersectClip ( RectangleF rect ) : void
rect RectangleF
Résultat void

IntersectClip() public méthode

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified graphical path.
public IntersectClip ( XGraphicsPath path ) : void
path XGraphicsPath
Résultat void

IntersectClip() public méthode

Updates the clip region of this XGraphics to the intersection of the current clip region and the specified rectangle.
public IntersectClip ( XRect rect ) : void
rect XRect
Résultat void

MeasureString() public méthode

Measures the specified string when drawn with the specified font.
public MeasureString ( string text, XFont font ) : XSize
text string
font XFont
Résultat XSize

MeasureString() public méthode

Measures the specified string when drawn with the specified font.
public MeasureString ( string text, XFont font, XStringFormat stringFormat ) : XSize
text string
font XFont
stringFormat XStringFormat
Résultat XSize

MultiplyTransform() public méthode

Multiplies the transformation matrix of this object and specified matrix.
public MultiplyTransform ( XMatrix matrix ) : void
matrix XMatrix
Résultat void

MultiplyTransform() public méthode

Multiplies the transformation matrix of this object and specified matrix in the specified order.
public MultiplyTransform ( XMatrix matrix, XMatrixOrder order ) : void
matrix XMatrix
order XMatrixOrder
Résultat void

Restore() public méthode

Restores the state of this XGraphics object to the state before the most recently call of Save.
public Restore ( ) : void
Résultat void

Restore() public méthode

Restores the state of this XGraphics object to the state represented by the specified XGraphicsState object.
public Restore ( XGraphicsState state ) : void
state XGraphicsState
Résultat void

RotateAtTransform() public méthode

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public RotateAtTransform ( double angle, XPoint point ) : void
angle double
point XPoint
Résultat void

RotateAtTransform() public méthode

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public RotateAtTransform ( double angle, XPoint point, XMatrixOrder order ) : void
angle double
point XPoint
order XMatrixOrder
Résultat void

RotateTransform() public méthode

Applies the specified rotation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public RotateTransform ( double angle ) : void
angle double
Résultat void

RotateTransform() public méthode

Applies the specified rotation operation to the transformation matrix of this object in the specified order. The angle unit of measure is degree.
public RotateTransform ( double angle, XMatrixOrder order ) : void
angle double
order XMatrixOrder
Résultat void

Save() public méthode

Saves the current state of this XGraphics object and identifies the saved state with the returned XGraphicsState object.
public Save ( ) : XGraphicsState
Résultat XGraphicsState

ScaleTransform() public méthode

Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public ScaleTransform ( double scaleXY ) : void
scaleXY double
Résultat void

ScaleTransform() public méthode

Applies the specified scaling operation to the transformation matrix of this object in the specified order.
public ScaleTransform ( double scaleXY, XMatrixOrder order ) : void
scaleXY double
order XMatrixOrder
Résultat void

ScaleTransform() public méthode

Applies the specified scaling operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public ScaleTransform ( double scaleX, double scaleY ) : void
scaleX double
scaleY double
Résultat void

ScaleTransform() public méthode

Applies the specified scaling operation to the transformation matrix of this object in the specified order.
public ScaleTransform ( double scaleX, double scaleY, XMatrixOrder order ) : void
scaleX double
scaleY double
order XMatrixOrder
Résultat void

ShearTransform() public méthode

Applies the specified shearing operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public ShearTransform ( double shearX, double shearY ) : void
shearX double
shearY double
Résultat void

ShearTransform() public méthode

Applies the specified shearing operation to the transformation matrix of this object in the specified order.
public ShearTransform ( double shearX, double shearY, XMatrixOrder order ) : void
shearX double
shearY double
order XMatrixOrder
Résultat void

TranslateTransform() public méthode

Applies the specified translation operation to the transformation matrix of this object by prepending it to the object's transformation matrix.
public TranslateTransform ( double dx, double dy ) : void
dx double
dy double
Résultat void

TranslateTransform() public méthode

Applies the specified translation operation to the transformation matrix of this object in the specified order.
public TranslateTransform ( double dx, double dy, XMatrixOrder order ) : void
dx double
dy double
order XMatrixOrder
Résultat void

WriteComment() public méthode

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.
public WriteComment ( string comment ) : void
comment string
Résultat void