DicomObjects.NET.V8
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 Integer
    'Usage
     
    Dim instance As DicomPrint
    Dim value As Integer
     
    instance.BitDepth = value
     
    value = instance.BitDepth
    public int BitDepth {get; set;}
    public:
    property int BitDepth {
       int get();
       void set (    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.0 or higher

    See Also