←Select platform

BytesPerLine Property

Summary

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

Syntax

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

Example

For an example, refer to GetRow

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly