EmfRecorderGraphics2D

EmfRecorderGraphics2D class

The Emf recorder graphics

public sealed class EmfRecorderGraphics2D : MetafileRecorderGraphics2D

Constructors

NameDescription
EmfRecorderGraphics2D(Rectangle, Size, Size)Initializes a new instance of the EmfRecorderGraphics2D class.

Properties

NameDescription
BackgroundColor { get; set; }Gets or sets the color of the background.
BackgroundMode { get; set; }Gets or sets the background mode.
Clip { get; set; }Gets or sets a Region that limits the drawing region of this Graphics
ClipBounds { get; }Gets the clip bounds.

Methods

NameDescription
static FromEmfImage(EmfImage)Gets an instance of the EmfRecorderGraphics2D containing all records from the Emf image.
Clear()Clears the state of the graphics object
DrawArc(Pen, Rectangle, float, float)Draws an arc representing a portion of an ellipse specified by a Rectangle structure.
DrawCubicBezier(Pen, Point, Point, Point, Point)Draws the cubic bezier.
DrawEllipse(Pen, Rectangle)Draws the ellipse.
DrawImage(RasterImage, Point)Draws the specified Image, using its original physical size, at the specified location.
DrawImage(byte[], Rectangle, GraphicsUnit)Draws the image.
DrawImage(Stream, Rectangle, GraphicsUnit)Draws the image.
DrawImage(RasterImage, Rectangle, Rectangle, GraphicsUnit)Draws the specified portion of the specified Image at the specified location and with the specified size.
DrawLine(Pen, Point, Point)Draws the line.
DrawLine(Pen, int, int, int, int)Draws the line.
DrawPath(Pen, GraphicsPath)Draws the path.
DrawPie(Pen, Rectangle, float, float)Draws the pie.
DrawPolyCubicBezier(Pen, Point[])Draws the poly cubic bezier.
DrawPolygon(Pen, Point[])Draws the polygon.
DrawPolyline(Pen, Point[])Draws the polyline.
DrawRectangle(Pen, Rectangle)Draws the rectangle.
DrawRectangle(Pen, int, int, int, int)Draws the rectangle.
DrawString(string, Font, Color, int, int)Draws the string.
DrawString(string, Font, Color, int, int, float)Draws the string.
EndRecording()Ends the recording.
ExcludeClip(Rectangle)Updates the clip region of this Graphics to exclude the area specified by a Rectangle structure.
ExcludeClip(Region)Updates the clip region of this Graphics to exclude the area specified by a Region.
FillEllipse(Brush, Rectangle)Fills the ellipse.
FillPath(Pen, Brush, GraphicsPath)Fills the path.
FillPie(Brush, Rectangle, float, float)Fills the pie.
FillPolygon(Brush, Point[])Fills the polygon.
FillPolygon(Brush, Point[], FillMode)Fills the polygon.
FillRectangle(Brush, Rectangle)Fills the rectangle.
GetTransform()Gets the world transform.
IntersectClip(RectangleF)Updates the clip region of this Graphics to the intersection of the current clip region and the specified Rectangle structure.
IntersectClip(Region)Updates the clip region of this Graphics to the intersection of the current clip region and the specified Region.
MultiplyTransform(Matrix)Multiplies the world transformation of this Graphics and specified the Matrix.
MultiplyTransform(Matrix, MatrixOrder)Multiplies the world transformation of this Graphics and specified the Matrix in the specified order.
ResetClip()Resets the clip.
RotateTransform(float)Applies the specified rotation to the transformation matrix of this Graphics.
RotateTransform(float, PointF, MatrixOrder)Applies the specified rotation to the transformation matrix of this Graphics in the specified order.
ScaleTransform(float, float)Applies the specified scaling operation to the transformation matrix of this Graphics by prepending it to the object’s transformation matrix.
ScaleTransform(float, float, MatrixOrder)Applies the specified scaling operation to the transformation matrix of this Graphics in the specified order.
SetTransform(Matrix)Sets the transform.
TranslateTransform(float, float)Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this Graphics.
TranslateTransform(float, float, MatrixOrder)Changes the origin of the coordinate system by applying the specified translation to the transformation matrix of this Graphics in the specified order.

See Also