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

In This Topic
    FontIndex Property
    In This Topic
    Specify which Font in the Fonts Collection to apply to the Current DicomLabel object.
    Syntax
    'Declaration
     
    
    Public Property FontIndex As System.Integer
    public System.int FontIndex {get; set;}
    Remarks
    The default value for this property is -1, which means none of the fonts in Fonts will be applied to the current DicomLabel, and instead the font in the Font property will be used. If is set a value between 0 and Fonts.Count - 1, the indexed Font from the Fonts collection will be used instead.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also