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

    See Also