Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
proposedSize
Type: System.Drawing.SizeThe 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.
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
- 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