DicomObjects.NET.V8
DicomObjects Namespace / DicomLabel Class / Font Property



In This Topic
    Font Property
    In This Topic
    The Font to be used for text labels
    Syntax
    'Declaration
     
    Public Property Font As Font
    'Usage
     
    Dim instance As DicomLabel
    Dim value As Font
     
    instance.Font = value
     
    value = instance.Font
    public Font Font {get; set;}
    public:
    property Font^ Font {
       Font^ get();
       void set (    Font^ value);
    }
    Remarks

    This property is only relevant where LabelType is doLabelText or doLabelSpecial.

    Use Font.Name and Font.Size to change the font properties.

    The default font name is System.Font and default size is 12.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also