Error processing SSI file
LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)

Show in webframe

BytesPerLine Property






Gets the expected stride (number of bytes per line).
Syntax
[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);
}

Property Value

This is usually the number of bytes rounded up to a multiple of 4 bytes.
Remarks

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.

Example
For an example, refer to RasterPaintDibInfo.
Requirements

Target Platforms

See Also

Reference

RasterPaintDibInfo Class
RasterPaintDibInfo Members

Error processing SSI file