Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
[CLSCompliantAttribute(false)] public uint BytesPerLine {get; set;}
'Declaration
<CLSCompliantAttribute(False)> Public Property BytesPerLine As UInteger
'Usage
Dim instance As RasterPaintDibInfo Dim value As UInteger instance.BytesPerLine = value value = instance.BytesPerLine
[CLSCompliantAttribute(false)] public: property uint BytesPerLine { uint get(); void set ( uint value); }
The GDI convention is the number of bytes per line is a multiple of 4 bytes and the extra padding data is unused. But it is possible some cards might not want padding so you can use this property to indicate that. You have to calculate this value from the width of the line that is passed as the second parameter to the RasterImagePaintCallbackFunction.GetDibInfoCallback callback.