←Select platform

BytesPerLine Property

Summary

Gets the number of bytes per scanline for the image data of this RasterImage.

Syntax
C#
VB
Objective-C
C++
Java
public int BytesPerLine { get; } 
Public ReadOnly Property BytesPerLine As Integer 
@property (nonatomic, assign, readonly) NSUInteger bytesPerLine 
public int getBytesPerLine() 
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 and SetRow methods.

Example

For an example, refer to GetRow

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly