LEADTOOLS Workflow (Leadtools.Workflow.Raster assembly)
LEAD Technologies, Inc

BitsPerPixel Property (SaveImageActivity)






Gets or sets a value indicating the resulting file's pixel depth.
Syntax
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[ValidationOptionAttribute(ValidationOption.None)]
[BrowsableAttribute(true)]
[MyDescriptionAttribute("Bit depth with which to save the image.")]
public int BitsPerPixel {get; set;}
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
<ValidationOptionAttribute(ValidationOption.None)>
<BrowsableAttribute(True)>
<MyDescriptionAttribute("Bit depth with which to save the image.")>
Public Property BitsPerPixel As Integer
'Usage
 
Dim instance As SaveImageActivity
Dim value As Integer
 
instance.BitsPerPixel = value
 
value = instance.BitsPerPixel
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[ValidationOptionAttribute(ValidationOption.None)]
[BrowsableAttribute(true)]
[MyDescriptionAttribute("Bit depth with which to save the image.")]
public int BitsPerPixel {get; set;}
DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)
ValidationOptionAttribute(ValidationOption.None)
BrowsableAttribute()
MyDescriptionAttribute("Bit depth with which to save the image.")
 get_BitsPerPixel();
set_BitsPerPixel(value);
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[ValidationOptionAttribute(ValidationOption.None)]
[BrowsableAttribute(true)]
[MyDescriptionAttribute("Bit depth with which to save the image.")]
public:
property int BitsPerPixel {
   int get();
   void set (    int value);
}

Property Value

The resulting file's pixel depth.
Remarks
If this property is 0 , the image will be stored using the closest bits/pixel value supported by that format. For example, if a file format supports 1, 4, and 24 bits/pixel, and Leadtools.RasterImage.BitsPerPixel is 5, the file will be stored as 24 bit. Likewise, if Leadtools.RasterImage.BitsPerPixel is 2, the file will be stored as 4 bit.
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

SaveImageActivity Class
SaveImageActivity Members

 

 


Products | Support | Contact Us | Copyright Notices

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

Leadtools.Workflow.Raster requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features