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






    FontIndex Property
    Specify which Font in the Fonts Collection to apply to the Current DicomLabel object.
    Syntax
    'Declaration
     
    
    Public Property FontIndex As System.Integer
     
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As System.Integer
     
    instance.FontIndex = value
     
    value = instance.FontIndex
    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