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;}
@property (nonatomic, readonly, assign) unsigned int bytesPerLine;
public int getBytesPerLine()
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.