DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomLabel Class / ScaleFontSize Property



In This Topic
    ScaleFontSize Property
    In This Topic
    Determines whether the SKFont 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 SKFont size of a text label scales with the zoom of the image. Otherwise, the SKFont size remains constant.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also