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
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As System.Integer
     
    instance.FontIndex = value
     
    value = instance.FontIndex
    public System.int FontIndex {get; set;}
    public read-write property FontIndex: System.Integer; 
    public function get,set FontIndex : System.int
    public: __property System.int get_FontIndex();
    public: __property void set_FontIndex( 
       System.int value
    );
    public:
    property System.int FontIndex {
       System.int get();
       void set (    System.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.8 or higher

    See Also