DicomObjects.NET.V8
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 Boolean
    'Usage
     
    Dim instance As DicomLabel
    Dim value As Boolean
     
    instance.ScaleFontSize = value
     
    value = instance.ScaleFontSize
    public bool ScaleFontSize {get; set;}
    public:
    property bool ScaleFontSize {
       bool get();
       void set (    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.0 or higher

    See Also