Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property BytesPerLine As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int BytesPerLine {get;} |
Return Value
Number of bytes per per scanline for the image data of this RasterImage.For an example, refer to GetRow
The BytesPerLine value is rounded upward to the nearest multiple of four.
You can use this property to allocate the buffer size when manipulating the scanline data of a RasterImage directly through the GetRow and SetRow methods.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family