BitsPerPixel Property

Summary
Gets a value that indicates which bits per pixel to use. For a listing of the bits per pixel supported by each format, refer to the RasterDialogFileTypesIndex enumeration.
Syntax
C#
VB
C++
public int BitsPerPixel { get; set; } 
  
Public Property BitsPerPixel As Integer 
public: 
property int BitsPerPixel { 
   int get(); 
   void set (    int value); 
} 

Property Value

The bits per pixel.

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

Refer to RasterSaveDialog example.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms.CommonDialogs.File Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.