You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Pixel Access > GetBits Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.GetBits Method

Returns a pointer to the data-bits of a GdPicture Image. 

It is up to you to interpret these bytes correctly, according to the results of GetBitDepth() and GetStride() functions.

C#
public IntPtr GetBits(
    int ImageID
);
Visual Basic
Public Function GetBits(
    ByVal ImageID As Integer
) As IntPtr
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Returns

If success, non 0: A pointer to the data-bits of the bitmap. If fail, 0: Use the GetStat() function to determine the reason this function failed.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.