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#
C++
public int BitsPerPixel { get; set; } 
vb[VB Syntax] 
  
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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms.CommonDialogs.File Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.