DicomObjects.NET Core 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 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also