ActionsPane.GetPreferredSize Method (Size)


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)

Size GetPreferredSize(
	Size proposedSize


Type: System.Drawing.Size

The custom-sized area for the actions pane.

Return Value

Type: System.Drawing.Size

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

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

Return to top