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 at a specified point.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.10.0.0 (20.10.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
Point structure that specifies the location of the upper-left corner of the drawn metafile.
srcRect
Type: System.DrawingRectangleF
RectangleF 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