←Select platform

PlaneCount Property

Summary
Indicates whether the image data should be interleaved or planar.
Syntax
C#
VB
C++
public int PlaneCount { get; set; } 
Public Property PlaneCount As Integer 
public: 
property int PlaneCount { 
   int get(); 
   void set (    int ); 
} 

Property Value

This is usually 1. If the image data is supposed to be planar, it can be the number of planes. It should be positive in any case.

Remarks

This value will most likely be 1, indicating that the image data is interleaved. This is how all the know cards expect the image data. But, if another card will expect the data to be planar, you should set this to the number of planes (3 for 24/48-bit data, 4 for 32/64-bit data). LEADTOOLS does not have built-in support for converting to planar data, so you would have to do the color conversion yourself using the RasterImagePaintCallbackFunction.ConvertLineCallback callback.

Example

For an example, refer to RasterPaintDibInfo.

Requirements

Target Platforms

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

Leadtools.Drawing Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.