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






Sends the records in the specified Metafile object, one at a time, to a callback method for display in a specified parallelogram using specified image attributes.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public void EnumerateMetafile (
    Metafile metafile,
    PointF[] destPoints,
    Graphics.EnumerateMetafileProc callback,
    IntPtr callbackData,
    ImageAttributes imageAttr
)

Visual Basic  Copy Code

Public Sub EnumerateMetafile( _
    metafile As Metafile, _
    destPoints() As PointF, _
    callback As Graphics.EnumerateMetafileProc, _
    callbackData As IntPtr, _
    imageAttr As ImageAttributes _
)

 Parameters

metafile
A .NET Metafile object to enumerate.
destPoints
An array of three .NET PointF structures that define a parallelogram that determines the size and location 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.
imageAttr
A .NET ImageAttributes object that specifies image attribute information for the drawn image.

 See Also

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