WmfRecorderGraphics2D Class
The Wmf recorder.
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.Emf.GraphicsMetafileRecorderGraphics2D
    Aspose.Imaging.FileFormats.Wmf.GraphicsWmfRecorderGraphics2D

Namespace: Aspose.Imaging.FileFormats.Wmf.Graphics
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
Syntax
public sealed class WmfRecorderGraphics2D : MetafileRecorderGraphics2D

The WmfRecorderGraphics2D type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleWmfRecorderGraphics2D
Initializes a new instance of the WmfRecorderGraphics2D class.
Properties
  NameDescription
Public propertyBackgroundColor
Gets or sets the color of the background.
(Inherited from MetafileRecorderGraphics2D.)
Public propertyBackgroundMode
Gets or sets the background mode.
Public propertyClip
Gets or sets a Region that limits the drawing region of this Graphics
(Inherited from MetafileRecorderGraphics2D.)
Public propertyClipBounds
Gets the clip bounds.
(Inherited from MetafileRecorderGraphics2D.)
Methods
  NameDescription
Public methodClear
Clears the state of the graphics object
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleDrawArc
Draws an arc representing a portion of an ellipse specified by a Rectangle structure.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleDrawCubicBezier
Draws the cubic bezier.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawEllipse
Draws the ellipse.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawImage(RasterImage, Point)
Draws the specified Image, using its original physical size, at the specified location.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawImage(Byte, Rectangle, GraphicsUnit)
Draws the image.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleDrawImage(RasterImage, Rectangle, Rectangle, GraphicsUnit)
Draws the specified portion of the specified Image at the specified location and with the specified size.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawLine(Pen, Point, Point)
Draws the line.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleDrawLine(Pen, Int32, Int32, Int32, Int32)
Draws the line.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleDrawPath
Draws the path.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawPie
Draws the pie.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawPolyCubicBezier
Draws the poly cubic bezier.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawPolygon
Draws the polygon.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawPolyline
Draws the polyline.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawRectangle(Pen, Rectangle)
Draws the rectangle.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleDrawRectangle(Pen, Int32, Int32, Int32, Int32)
Draws the rectangle.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleDrawString(String, Font, Color, Int32, Int32)
Draws the string.
(Inherited from MetafileRecorderGraphics2D.)
Public methodDrawString(String, Font, Color, Int32, Int32, Single)
Draws the string.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleEndRecording
Ends the recording.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExcludeClip(Rectangle)
Updates the clip region of this Graphics to exclude the area specified by a Rectangle structure.
(Inherited from MetafileRecorderGraphics2D.)
Public methodExcludeClip(Region)
Updates the clip region of this Graphics to exclude the area specified by a Region.
(Inherited from MetafileRecorderGraphics2D.)
Public methodFillEllipse
Fills the ellipse.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleFillPath
Fills the path.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleFillPie
Fills the pie.
(Inherited from MetafileRecorderGraphics2D.)
Public methodFillPolygon(Brush, Point)
Fills the polygon.
(Inherited from MetafileRecorderGraphics2D.)
Public methodFillPolygon(Brush, Point, FillMode)
Fills the polygon.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleFillRectangle
Fills the rectangle.
(Inherited from MetafileRecorderGraphics2D.)
Public methodStatic memberFromWmfImage
Gets an instance of the Wmf recorder for the existing Wmf image.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTransform
Gets the world transform.
(Inherited from MetafileRecorderGraphics2D.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodIntersectClip(RectangleF)
Updates the clip region of this Graphics to the intersection of the current clip region and the specified Rectangle structure.
(Inherited from MetafileRecorderGraphics2D.)
Public methodIntersectClip(Region)
Updates the clip region of this Graphics to the intersection of the current clip region and the specified Region.
(Inherited from MetafileRecorderGraphics2D.)
Public methodMultiplyTransform(Matrix)
Multiplies the world transformation of this Graphics and specified the Matrix.
(Inherited from MetafileRecorderGraphics2D.)
Public methodMultiplyTransform(Matrix, MatrixOrder)
Multiplies the world transformation of this Graphics and specified the Matrix in the specified order.
(Inherited from MetafileRecorderGraphics2D.)
Public methodResetClip
Resets the clip.
(Inherited from MetafileRecorderGraphics2D.)
Public methodRotateTransform(Single)
Applies the specified rotation to the transformation matrix of this Graphics.
(Inherited from MetafileRecorderGraphics2D.)
Public methodRotateTransform(Single, PointF, MatrixOrder)
Applies the specified rotation to the transformation matrix of this Graphics in the specified order.
(Inherited from MetafileRecorderGraphics2D.)
Public methodScaleTransform(Single, Single)
Applies the specified scaling operation to the transformation matrix of this Graphics by prepending it to the object's transformation matrix.
(Inherited from MetafileRecorderGraphics2D.)
Public methodScaleTransform(Single, Single, MatrixOrder)
Applies the specified scaling operation to the transformation matrix of this Graphics in the specified order.
(Inherited from MetafileRecorderGraphics2D.)
Public methodCode exampleSetTransform
Sets the transform.
(Inherited from MetafileRecorderGraphics2D.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTranslateTransform(Single, Single)
Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this Graphics.
(Inherited from MetafileRecorderGraphics2D.)
Public methodTranslateTransform(Single, Single, MatrixOrder)
Changes the origin of the coordinate system by applying the specified translation to the transformation matrix of this Graphics in the specified order.
(Inherited from MetafileRecorderGraphics2D.)
See Also