[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 uint BytesPerLine {get; set;}
CLSCompliantAttribute() get_BytesPerLine();
set_BytesPerLine(value);
[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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2