Leadtools Namespace > RasterImage Class : BytesPerLine Property |
public int BytesPerLine {get;}
'Declaration Public ReadOnly Property BytesPerLine As Integer
'Usage Dim instance As RasterImage Dim value As Integer value = instance.BytesPerLine
public int BytesPerLine {get;}
get_BytesPerLine();
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(Int32,Byte[],Int32,Int32) and SetRow(Int32,Byte[],Int32,Int32) methods.
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