Search
GdiGraphics.EnumerateMetafile Method (Metafile, PointF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc)
See Also
 





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

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

public void EnumerateMetafile (
    Metafile metafile,
    PointF destPoint,
    RectangleF srcRect,
    GraphicsUnit srcUnit,
    Graphics.EnumerateMetafileProc callback
)

Visual Basic  Copy Code

Public Sub EnumerateMetafile( _
    metafile As Metafile, _
    destPoint As PointF, _
    srcRect As RectangleF, _
    srcUnit As GraphicsUnit, _
    callback As Graphics.EnumerateMetafileProc _
)

 Parameters

metafile
A .NET Metafile object to enumerate.
destPoint
A .NET PointF structure that specifies the location of the upper-left corner of the drawn metafile.
srcRect
A .NET RectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnit
Member of the .NET 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
A .NET Graphics.EnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

 See Also