Graphics.EnumerateMetafileProc Delegate
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a callback method for the EnumerateMetafile method.
public: delegate bool Graphics::EnumerateMetafileProc(EmfPlusRecordType recordType, int flags, int dataSize, IntPtr data, PlayRecordCallback ^ callbackData);
public delegate bool Graphics.EnumerateMetafileProc(EmfPlusRecordType recordType, int flags, int dataSize, IntPtr data, PlayRecordCallback? callbackData);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate bool Graphics.EnumerateMetafileProc(EmfPlusRecordType recordType, int flags, int dataSize, IntPtr data, PlayRecordCallback callbackData);
public delegate bool Graphics.EnumerateMetafileProc(EmfPlusRecordType recordType, int flags, int dataSize, IntPtr data, PlayRecordCallback callbackData);
type Graphics.EnumerateMetafileProc = delegate of EmfPlusRecordType * int * int * nativeint * PlayRecordCallback -> bool
[<System.Runtime.InteropServices.ComVisible(false)>]
type Graphics.EnumerateMetafileProc = delegate of EmfPlusRecordType * int * int * nativeint * PlayRecordCallback -> bool
Public Delegate Function Graphics.EnumerateMetafileProc(recordType As EmfPlusRecordType, flags As Integer, dataSize As Integer, data As IntPtr, callbackData As PlayRecordCallback) As Boolean
- recordType
- EmfPlusRecordType
Member of the EmfPlusRecordType enumeration that specifies the type of metafile record.
- flags
- Int32
Set of flags that specify attributes of the record.
- dataSize
- Int32
Number of bytes in the record data.
- data
-
IntPtr
nativeint
Pointer to a buffer that contains the record data.
- callbackData
- PlayRecordCallback
Not used.
Return true
if you want to continue enumerating records; otherwise, false
.
- Attributes
For an example see EnumerateMetafile.
This method is used in conjunction with the EnumerateMetafile method of the Graphics class. Certain overloads of the EnumerateMetafile method call an application-defined callback method of this type for each record in a specified metafile. The callback function can display each record (or selected records) by calling the PlayRecord method of the Metafile that is being enumerated.
A user declaration of this callback method must have the same parameters as the Graphics.EnumerateMetafileProc delegate declaration.
Get |
Gets an object that represents the method represented by the specified delegate. |
Termék | Verziók |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: