←Select platform

BitsPerPixel Property

Summary

Gets or sets a value that indicates which bits per pixel to be used.

Syntax

C#
VB
C++
[DataMemberAttribute(Name="BitsPerPixel", IsRequired=true)] 
public int BitsPerPixel { get; set; } 
  
<DataMemberAttribute(Name="BitsPerPixel", IsRequired=True)> 
Public Property BitsPerPixel As Integer 
[DataMemberAttribute(Name="BitsPerPixel", IsRequired=true)] 
public: 
property int BitsPerPixel { 
   int get(); 
   void set (    int ); 
} 

Property Value

The bits per pixel. For valid values, refer to Summary of All Supported Image File Formats.

Remarks

This is the value that should be passed for the bitsPerPixel parameter when calling the Leadtools.Codecs.RasterCodecs.Save(leadtools.rasterimage,system.uri,leadtools.rasterimageformat,system.int32,system.int32,system.int32) method.

Example

For an example, refer to RasterConvertOptions.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Raster.DataContracts Assembly