LEADTOOLS (Leadtools assembly)

BytesPerLine Property

Show in webframe







Gets the number of bytes per scanline for the image data of this RasterImage.
Syntax
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(); 
public:
property int BytesPerLine {
   int get();
}

Property Value

Number of bytes per per scanline for the image data of this RasterImage.
Remarks

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.

Example
For an example, refer to GetRow(Int32,Byte[],Int32,Int32)
Requirements

Target Platforms

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.