XFINIUM.PDF Documentation
BitsPerComponent Property (PdfImage)



Xfinium.Pdf.Graphics Namespace > PdfImage Class : BitsPerComponent Property
Gets or sets the bits per component.
Syntax
'Declaration
 
Public Property BitsPerComponent As Integer
'Usage
 
Dim instance As PdfImage
Dim value As Integer
 
instance.BitsPerComponent = value
 
value = instance.BitsPerComponent
public int BitsPerComponent {get; set;}
public:
property int BitsPerComponent {
   int get();
   void set (    int value);
}

Property Value

The number of bits used to represent each color component.
Remarks
Valid values are 1, 2, 4, 8, and (in Pdf 1.5) 16
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfImage Class
PdfImage Members