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






In This Topic
    Colour Property
    In This Topic
    Controls whether monochrome of colour printing is attempted
    Syntax
    'Declaration
     
    
    Public Property Colour As System.Boolean
    'Usage
     
    
    Dim instance As DicomPrint
    Dim value As System.Boolean
     
    instance.Colour = value
     
    value = instance.Colour
    public System.bool Colour {get; set;}
    public read-write property Colour: System.Boolean; 
    public function get,set Colour : System.boolean
    public: __property System.bool get_Colour();
    public: __property void set_Colour( 
       System.bool value
    );
    public:
    property System.bool Colour {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    If true, then the DicomPrint object attempts to use the Basic Colour Print Meta SOP Class, but if false, then he Basic GreyScale Print Meta SOP Class is used. The film box classes are also changed to suit, and PrintImage uses this property to ensure that images are rendered appropriately (though if the Raw parameter is true, this becomes the user's responsibility).
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also