WindowState 1. There is a newer version of this package available. See the version list below for details. Package Manager. For projects that support PackageReference , copy this XML node into the project file to reference the package.
The NuGet Team does not provide support for this client. Privacy policy. Thank you. Microsoft makes no warranties, express or implied, with respect to the information provided here. A WindowState that determines whether a window is restored, minimized, or maximized.
The default is Normal restored. Please find the XlWindowState enumeration values at the end of the chapter. In the above syntax an Application represents object and WindowState is the Property of an Application object.
The below example maximizes the application window. The below example minimizes the application window. The below example sets the application window to normal state. Please follow the below steps to execute the VBA code to save the excel file. Copy this into the interactive tool or source code of the script to reference the package.
WindowState Library to help save window state of WinForms windows. Usage Initialization Anyway, initialize a WindowStates object somewhere. Restore this, false ; Save Use the WindowStates. Save this ;. This package has no dependencies.
0コメント