Version

BoundsInTwips Property

Gets or sets the bounds of the workbook's MDI child window in twips (1/20th of a point).
Syntax
'Declaration
 
Public Property BoundsInTwips As Rectangle
public Rectangle BoundsInTwips {get; set;}

Property Value

The bounds of the workbook's MDI child window in twips (1/20th of a point).
Exceptions
ExceptionDescription
System.ArgumentException The width or height of the value assigned are less than zero.
Remarks

Note: This setting cannot be saved with a CustomView in the Excel file. It can only be saved with a Workbook. Therefore, there is no corresponding property in CustomViewWindowOptions and a newly created CustomView will not be initialized with the setting from this property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also