DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomLabel Class / Font Property



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

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

    Use SKFont.Name and SKFont.Size to change the SKFont properties.

    The default SKFont name is System.SKFont and default size is 12.

    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