DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLabel Class / TextBrush Property






In This Topic
    TextBrush Property
    In This Topic
    The brush object only for labels of type "doLabelText"
    Syntax
    'Declaration
     
    
    Public Property TextBrush As System.Drawing.Brush
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As System.Drawing.Brush
     
    instance.TextBrush = value
     
    value = instance.TextBrush
    public System.Drawing.Brush TextBrush {get; set;}
    public read-write property TextBrush: System.Drawing.Brush; 
    public function get,set TextBrush : System.Drawing.Brush
    public: __property System.Drawing.Brush* get_TextBrush();
    public: __property void set_TextBrush( 
       System.Drawing.Brush* value
    );
    public:
    property System.Drawing.Brush^ TextBrush {
       System.Drawing.Brush^ get();
       void set (    System.Drawing.Brush^ value);
    }
    Remarks
    The default color for TextBrush is White, if ShowUpdate is set true, changes made to TextBrush, as to any other properties of the label object will cause an immediate image update.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also