←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms.CommonDialogs.File Assembly