LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)

PlaneCount Property

Show in webframe





Indicates whether the image data should be interleaved or planar.
Syntax
public int PlaneCount {get; set;}
'Declaration
 
Public Property PlaneCount As Integer
'Usage
 
Dim instance As RasterPaintDibInfo
Dim value As Integer
 
instance.PlaneCount = value
 
value = instance.PlaneCount

            

            
public:
property int PlaneCount {
   int get();
   void set (    int value);
}

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

See Also

Reference

RasterPaintDibInfo Class
RasterPaintDibInfo Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.