Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DisplayDepth Property
See Also 
Leadtools.Codecs Namespace > CodecsPdfLoadOptions Class : DisplayDepth Property



Gets or sets the resulting image pixel depth.

Syntax

Visual Basic (Declaration) 
Public Property DisplayDepth As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsPdfLoadOptions
Dim value As Integer
 
instance.DisplayDepth = value
 
value = instance.DisplayDepth
C# 
public int DisplayDepth {get; set;}
C++/CLI 
public:
property int DisplayDepth {
   int get();
   void set (int value);
}

Return Value

The resulting image pixel depth, must be 1, 4, 8, or 24.

Example

For an example, refer to CodecsPdfOptions.

Remarks

Possible values are:
ValueDescription
11 bit per pixel in the resultant image.
44 bit per pixel in the resultant image.
88 bit per pixel in the resultant image.
2424 bit per pixel in the resultant image.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also