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






In This Topic
    ScaleFontSize Property
    In This Topic
    Determines whether the font size scales with the image
    Syntax
    'Declaration
     
    
    Public Property ScaleFontSize As System.Boolean
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As System.Boolean
     
    instance.ScaleFontSize = value
     
    value = instance.ScaleFontSize
    public System.bool ScaleFontSize {get; set;}
    public read-write property ScaleFontSize: System.Boolean; 
    public function get,set ScaleFontSize : System.boolean
    public: __property System.bool get_ScaleFontSize();
    public: __property void set_ScaleFontSize( 
       System.bool value
    );
    public:
    property System.bool ScaleFontSize {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    When this property is true (the default case, as used in previous versions of DicomObjects), then when ScaleMode is set to Image, the font size of a text label scales with the zoom of the image. Otherwise, the font size remains constant.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also