GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / GetStride Method
GdPicture image identifier.





In This Topic
GetStride Method (GdPictureImaging)
In This Topic
Returns the width, in bytes, of a single row of pixel data of a GdPicture image. Also known as pitch or scan width, this width is a multiple, or possibly sub-multiple, of the pixel dimensions of the image and may be padded out to include a few more bytes.
Syntax
'Declaration
 
Public Function GetStride( _
   ByVal ImageID As Integer _
) As Integer
public int GetStride( 
   int ImageID
)
public function GetStride( 
    ImageID: Integer
): Integer; 
public function GetStride( 
   ImageID : int
) : int;
public: int GetStride( 
   int ImageID
) 
public:
int GetStride( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

If success, non 0: a GdPicture image stride. If fail, 0: Use the GetStat() method to determine the reason this method failed.
See Also