DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / Font Property






In This Topic
    Font Property (DicomViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatAppearance")>
    <System.ComponentModel.LocalizableAttribute(True)>
    <System.Runtime.InteropServices.DispIdAttribute(-512)>
    <System.ComponentModel.AmbientValueAttribute("")>
    <SRDescriptionAttribute("ControlFontDescr")>
    Public Overridable Property Font As System.Drawing.Font
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As System.Drawing.Font
     
    instance.Font = value
     
    value = instance.Font
    [SRCategory("CatAppearance")]
    [System.ComponentModel.Localizable(true)]
    [System.Runtime.InteropServices.DispId(-512)]
    [System.ComponentModel.AmbientValue("")]
    [SRDescription("ControlFontDescr")]
    public virtual System.Drawing.Font Font {get; set;}
    public read-write property Font: System.Drawing.Font; virtual; 
    SRCategoryAttribute("CatAppearance")
    System.ComponentModel.LocalizableAttribute()
    System.Runtime.InteropServices.DispIdAttribute(-512)
    System.ComponentModel.AmbientValueAttribute("")
    SRDescriptionAttribute("ControlFontDescr")
    public function get,set Font : System.Drawing.Font
    [SRCategory("CatAppearance")]
    [System.ComponentModel.Localizable(true)]
    [System.Runtime.InteropServices.DispId(-512)]
    [System.ComponentModel.AmbientValue("")]
    [SRDescription("ControlFontDescr")]
    public: __property virtual System.Drawing.Font* get_Font();
    public: __property virtual void set_Font( 
       System.Drawing.Font* value
    );
    [SRCategory("CatAppearance")]
    [System.ComponentModel.Localizable(true)]
    [System.Runtime.InteropServices.DispId(-512)]
    [System.ComponentModel.AmbientValue("")]
    [SRDescription("ControlFontDescr")]
    public:
    virtual property System.Drawing.Font^ Font {
       System.Drawing.Font^ get();
       void set (    System.Drawing.Font^ value);
    }
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also