Charting for WinForms Programmer's Guide
GdiGraphics.EnumerateMetafile Method (Metafile, RectangleF, Graphics.EnumerateMetafileProc, IntPtr)
See Also
 






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

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public void EnumerateMetafile (
    Metafile metafile,
    RectangleF destRect,
    Graphics.EnumerateMetafileProc callback,
    IntPtr callbackData
)

Visual Basic  Copy Code

Public Sub EnumerateMetafile( _
    metafile As Metafile, _
    destRect As RectangleF, _
    callback As Graphics.EnumerateMetafileProc, _
    callbackData As IntPtr _
)

 Parameters

metafile
A .NET Metafile object to enumerate.
destRect
A .NET RectangleF structure that specifies the location and size of the drawn metafile.
callback
A .NET Graphics.EnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackData
Internal pointer that is required, but ignored. You can pass IntPtr.Zero for this parameter.

 See Also

EnumerateMetafile Method Overload List
GdiGraphics Members
GdiGraphics Class
MindFusion.Drawing Namespace