IFrame.GetIntPtr Method

Returns the pointer to the image data of this frame as an IntPtr.
Syntax:
[C#]
public IntPtr GetIntPtr();
Return value:

A pointer to the image data.

Remarks:

Please note that depending upon the frame type, images may be stored bottom up, therefore the pointer returned by this method may point to the first byte of the first pixel of the last line of the image.

You can get information about how to interpret the data by examining IFrame.FrameType.

The example Accessing an Image Buffer shows how to access the image data in image buffers.

See also: IFrame, IFrame.FrameType, IFrame.Ptr

<< IFrame