Поделиться через


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

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview