Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PlaneCount Property
See Also 
Leadtools Namespace > RasterPaintDibInfo Class : PlaneCount Property



Indicates whether the image data should be interleaved or planar.

Syntax

Visual Basic (Declaration)  
Public Property PlaneCount As Integer
Visual Basic (Usage) Copy Code
Dim instance As RasterPaintDibInfo
Dim value As Integer
 
instance.PlaneCount = value
 
value = instance.PlaneCount
C#  
public int PlaneCount {get; set;}
C++/CLI  
public:
property int PlaneCount {
   int get();
   void set (int value);
}

Return 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.

Example

For an example, refer to RasterPaintDibInfo.

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also