Megosztás a következőn keresztül:


ActionsPane.GetPreferredSize Method

Retrieves the size of a rectangular area into which the actions pane can be fitted.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Function GetPreferredSize ( _
    proposedSize As Size _
) As Size
Size GetPreferredSize(
    Size proposedSize
)

Parameters

Return Value

Type: System.Drawing.Size
An ordered pair of type System.Drawing.Size representing the width and height of a rectangle.

Remarks

This method provides the same functionality as the Control.GetPreferredSize method. For more information about using this method, see Control.GetPreferredSize.

.NET Framework Security

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview