GetStride Method (GdPictureImaging)
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.
public int GetStride(
int
)
public function GetStride(
: Integer
): Integer;
public function GetStride(
: int
) : int;
public: int GetStride(
int
)
public:
int GetStride(
int
)
'Declaration
Public Function GetStride( _
ByVal As Integer _
) As Integer
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.