ActionsPane.CurrentAutoScaleDimensions Property
Gets the current run-time dimensions of the screen.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
ReadOnly Property CurrentAutoScaleDimensions As SizeF
[BrowsableAttribute(false)]
SizeF CurrentAutoScaleDimensions { get; }
Property Value
Type: System.Drawing.SizeF
An object that contains the current dots per inch (DPI) or Font size of the screen.
Remarks
This property provides the same functionality as the ContainerControl.CurrentAutoScaleDimensions property. For more information about using this property, see ContainerControl.CurrentAutoScaleDimensions.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace