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






In This Topic
    Font Property (DicomLabel)
    In This Topic
    The Font to be used for text labels
    Syntax
    'Declaration
     
    
    Public Property Font As System.Drawing.Font
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As System.Drawing.Font
     
    instance.Font = value
     
    value = instance.Font
    public System.Drawing.Font Font {get; set;}
    public read-write property Font: System.Drawing.Font; 
    public function get,set Font : System.Drawing.Font
    public: __property System.Drawing.Font* get_Font();
    public: __property void set_Font( 
       System.Drawing.Font* value
    );
    public:
    property System.Drawing.Font^ Font {
       System.Drawing.Font^ get();
       void set (    System.Drawing.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.8 or higher

    See Also