GraphicsEnumerateMetafile Method (Metafile, PointF, RectangleF, GraphicsUnit, GraphicsEnumerateMetafileProc)

Sends the records in a selected rectangle from a Metafile, one at a time, to a callback method for display in a specified parallelogram.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.8.0.0 (20.8.0)
Syntax
C#
public void EnumerateMetafile(
	Metafile image,
	PointF[] destPoints,
	RectangleF srcRect,
	GraphicsUnit srcUnit,
	GraphicsEnumerateMetafileProc callback
)

Parameters

image
Type: System.Drawing.ImagingMetafile
Metafile to enumerate.
destPoints
Type: System.DrawingPointF
Array of three Point structures that define a parallelogram that determines the size and location of the drawn metafile.
srcRect
Type: System.DrawingRectangleF
Rectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnit
Type: System.DrawingGraphicsUnit
Member of the GraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callback
Type: System.DrawingGraphicsEnumerateMetafileProc
EnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
See Also