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






In This Topic
    Text Property (DicomLabel)
    In This Topic
    The text to be displayed by a text type DicomLabel
    Syntax
    'Declaration
     
    
    Public Property Text As System.String
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As System.String
     
    instance.Text = value
     
    value = instance.Text
    public System.string Text {get; set;}
    public read-write property Text: System.String; 
    public function get,set Text : System.String
    public: __property System.string* get_Text();
    public: __property void set_Text( 
       System.string* value
    );
    public:
    property System.String^ Text {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks

    This property is only relevant where LabelType is Text, Special or Formatted.

    The StringFormat, ScaleFontSize, ShowAnchor and Anchor properties are important also for this case.

    If ShowTextBox is true, then the text is surrounded by a rectangular box, drawn in the foreground colour.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also