LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)
LEAD Technologies, Inc

PlaneCount Property






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 int PlaneCount {get; set;}
 get_PlaneCount();
set_PlaneCount(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterPaintDibInfo Class
RasterPaintDibInfo Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.