DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / LicenseDialog Class / DpiChanged Event






In This Topic
    DpiChanged Event
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatLayout")>
    <SRDescriptionAttribute("FormOnDpiChangedDescr")>
    Public Event DpiChanged As System.Windows.Forms.DpiChangedEventHandler
    'Usage
     
    
    Dim instance As LicenseDialog
    Dim handler As System.Windows.Forms.DpiChangedEventHandler
     
    AddHandler instance.DpiChanged, handler
    [SRCategory("CatLayout")]
    [SRDescription("FormOnDpiChangedDescr")]
    public event System.Windows.Forms.DpiChangedEventHandler DpiChanged
    public event DpiChanged: System.Windows.Forms.DpiChangedEventHandler; 
    In JScript, you can handle the events defined by another class, but you cannot define your own.
    [SRCategory("CatLayout")]
    [SRDescription("FormOnDpiChangedDescr")]
    public: __event System.Windows.Forms.DpiChangedEventHandler* DpiChanged
    [SRCategory("CatLayout")]
    [SRDescription("FormOnDpiChangedDescr")]
    public:
    event System.Windows.Forms.DpiChangedEventHandler^ DpiChanged
    Event Data

    The event handler receives an argument of type System.Windows.Forms.DpiChangedEventArgs containing data related to this event. The following DpiChangedEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the DPI value for the new display device where the control or form is currently being displayed.  
    Gets the DPI value for the display device where the control or form was previously displayed.  
    Gets a System.Drawing.Rectangle that represents the new bounding rectangle for the control or form based on the DPI of the display device where it's displayed.  
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also