ArcFM Solution Developer Guide
DpiChanged Event (frmDatabaseVersion)


Syntax
'Declaration
 
<SRCategoryAttribute("CatLayout")>
<SRDescriptionAttribute("FormOnDpiChangedDescr")>
Public Event DpiChanged As System.Windows.Forms.DpiChangedEventHandler
'Usage
 
Dim instance As frmDatabaseVersion
Dim handler As System.Windows.Forms.DpiChangedEventHandler
 
AddHandler instance.DpiChanged, handler
[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
Cancel (Inherited from System.ComponentModel.CancelEventArgs)
DeviceDpiNewGets the DPI value for the new display device where the control or form is currently being displayed.  
DeviceDpiOldGets the DPI value for the display device where the control or form was previously displayed.  
SuggestedRectangleGets 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: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

frmDatabaseVersion Class
frmDatabaseVersion Members

 

 


Send Comment