DicomObjects.NET.V8
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 String
    'Usage
     
    Dim instance As DicomLabel
    Dim value As String
     
    instance.Text = value
     
    value = instance.Text
    public string Text {get; set;}
    public:
    property String^ Text {
       String^ get();
       void set (    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 3.5 or higher

    See Also