DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomPrint Class / BitDepth Property






In This Topic
    BitDepth Property
    In This Topic
    The bit depth to send to the printer
    Syntax
    'Declaration
     
    
    Public Property BitDepth As System.Integer
    'Usage
     
    
    Dim instance As DicomPrint
    Dim value As System.Integer
     
    instance.BitDepth = value
     
    value = instance.BitDepth
    public System.int BitDepth {get; set;}
    public read-write property BitDepth: System.Integer; 
    public function get,set BitDepth : System.int
    public: __property System.int get_BitDepth();
    public: __property void set_BitDepth( 
       System.int value
    );
    public:
    property System.int BitDepth {
       System.int get();
       void set (    System.int value);
    }
    Remarks

    Not all printers support the same bit depths, and PrintImage uses this property to ensure that images are rendered to the appropriate number of bits before being sent to the printer (though if the Raw parameter is true, this becomes the user’s responsibility).

    Default value is 12. See DicomPrint for more details of initial values.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also