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






    Text Property (DicomLabel)
    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
    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