Visual Basic (Declaration) | |
---|---|
Public Delegate Function CodecsTransformMarkerCallback( _ ByVal id As Integer, _ ByVal data As IntPtr, _ ByVal dataLength As Integer, _ ByVal transform As CodecsTransformFlags _ ) As CodecsTransformMarkerAction |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public delegate CodecsTransformMarkerAction CodecsTransformMarkerCallback( int id, IntPtr data, int dataLength, CodecsTransformFlags transform ) |
C++/CLI | |
---|---|
public delegate CodecsTransformMarkerAction CodecsTransformMarkerCallback( int id, IntPtr data, int dataLength, CodecsTransformFlags transform ) |
Parameters
- id
- ID of the JPEG marker. The JPEG markers are uniquely identified by a byte value. Possible values are 1 to 254. (0 and 255 are not allowed.)
- data
- A pointer to the unmanaged memory buffer containing the marker data. This parameter is valid only if dataLength is > 0.
- dataLength
- Size in bytes of the JPEG marker (data). The size will be less than 65535. If this value is 0, then the marker does not have any extra data and data should be ignored.
- transform
- Flags that indicate the transform to be performed. These are the same flags passed to the RasterCodecs.Transform method.
For an example, refer to RasterCodecs.Transform.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family