Graphics.EnumerateMetafile

Contents
[ ]

EnumerateMetafile(Metafile, PointF, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, PointF destPoint, EnumerateMetafileProc callback, 
    IntPtr callbackData, ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointFPointF structure that specifies the location of the upper-left corner of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, PointF, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, PointF destPoint, EnumerateMetafileProc callback, 
    IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointFPointF structure that specifies the location of the upper-left corner of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, PointF[], EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, 
    EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPointF[]Array of three PointF structures that define a parallelogram that determines the size and location of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, Point, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, Point destPoint, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointPoint structure that specifies the location of the upper-left corner of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, Point, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, Point destPoint, EnumerateMetafileProc callback, 
    IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointPoint structure that specifies the location of the upper-left corner of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, Point, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, Point destPoint, EnumerateMetafileProc callback, 
    IntPtr callbackData, ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointPoint structure that specifies the location of the upper-left corner of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, RectangleF, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, RectangleF destRect, 
    EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleFRectangleF structure that specifies the location and size of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, RectangleF, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, RectangleF destRect, 
    EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleFRectangleF structure that specifies the location and size of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, RectangleF, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, RectangleF destRect, 
    EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleFRectangleF structure that specifies the location and size of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, Rectangle, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, Rectangle destRect, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleRectangle structure that specifies the location and size of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, PointF, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, PointF destPoint, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointFPointF structure that specifies the location of the upper-left corner of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, PointF[], EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, 
    EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPointF[]Array of three PointF structures that define a parallelogram that determines the size and location of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, Point[], EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, Point[] destPoints, 
    EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPoint[]Array of three Point structures that define a parallelogram that determines the size and location of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, Point[], EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, Point[] destPoints, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPoint[]Array of three Point structures that define a parallelogram that determines the size and location of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, 
    GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, 
    ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPoint[]Array of three Point structures that define a parallelogram that determines the size and location of the drawn metafile.
srcRectRectangleRectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
unitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPoint[]Array of three Point structures that define a parallelogram that determines the size and location of the drawn metafile.
srcRectRectangleRectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, Point[], Rectangle, GraphicsUnit, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPoint[]Array of three Point structures that define a parallelogram that determines the size and location of the drawn metafile.
srcRectRectangleRectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, 
    GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, 
    ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPointF[]Array of three PointF structures that define a parallelogram that determines the size and location of the drawn metafile.
srcRectRectangleFRectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
unitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPointF[]Array of three PointF structures that define a parallelogram that determines the size and location of the drawn metafile.
srcRectRectangleFRectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, PointF[], RectangleF, GraphicsUnit, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPointF[]Array of three PointF structures that define a parallelogram that determines the size and location of the drawn metafile.
srcRectRectangleFRectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, 
    GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, 
    ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleRectangle structure that specifies the location and size of the drawn metafile.
srcRectRectangleRectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
unitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleRectangle structure that specifies the location and size of the drawn metafile.
srcRectRectangleRectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, Rectangle, Rectangle, GraphicsUnit, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleRectangle structure that specifies the location and size of the drawn metafile.
srcRectRectangleRectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, PointF[], EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, 
    EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPointF[]Array of three PointF structures that define a parallelogram that determines the size and location of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, 
    GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, 
    ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleFRectangleF structure that specifies the location and size of the drawn metafile.
srcRectRectangleFRectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
unitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleFRectangleF structure that specifies the location and size of the drawn metafile.
srcRectRectangleFRectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, 
    GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, 
    ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointPoint structure that specifies the location of the upper-left corner of the drawn metafile.
srcRectRectangleRectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
unitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointPoint structure that specifies the location of the upper-left corner of the drawn metafile.
srcRectRectangleRectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, Point, Rectangle, GraphicsUnit, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointPoint structure that specifies the location of the upper-left corner of the drawn metafile.
srcRectRectangleRectangle structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, Rectangle, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, Rectangle destRect, 
    EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleRectangleF structure that specifies the location and size of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, 
    GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, 
    ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointFPointF structure that specifies the location of the upper-left corner of the drawn metafile.
srcRectRectangleFRectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
unitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointFPointF structure that specifies the location of the upper-left corner of the drawn metafile.
srcRectRectangleFRectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, PointF, RectangleF, GraphicsUnit, EnumerateMetafileProc)

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

public void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointPointFPointF structure that specifies the location of the upper-left corner of the drawn metafile.
srcRectRectangleFSystem.Drawing.RectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember of theGraphicsUnit enumeration that specifies the unit of measure used to determine the portion of the metafile that the rectangle specified by the srcRect parameter contains.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.

See Also


EnumerateMetafile(Metafile, Point[], EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, Point[] destPoints, 
    EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destPointsPoint[]Array of three Point structures that define a parallelogram that determines the size and location of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also


EnumerateMetafile(Metafile, RectangleF, RectangleF, GraphicsUnit, EnumerateMetafileProc, IntPtr)

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

public void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, 
    GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleFRectangleF structure that specifies the location and size of the drawn metafile.
srcRectRectangleFRectangleF structure that specifies the portion of the metafile, relative to its upper-left corner, to draw.
srcUnitGraphicsUnitMember 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.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.

See Also


EnumerateMetafile(Metafile, Rectangle, EnumerateMetafileProc, IntPtr, ImageAttributes)

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

public void EnumerateMetafile(Metafile metafile, Rectangle destRect, 
    EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
ParameterTypeDescription
metafileMetafileMetafile to enumerate.
destRectRectangleRectangle structure that specifies the location and size of the drawn metafile.
callbackEnumerateMetafileProcEnumerateMetafileProc delegate that specifies the method to which the metafile records are sent.
callbackDataIntPtrInternal pointer that is required, but ignored. You can pass Zero for this parameter.
imageAttrImageAttributesImageAttributes that specifies image attribute information for the drawn image.

See Also