Gets or sets the window state (minimum, maximum, or normal) for the SolidWorks window.
.NET Syntax
Visual Basic (Declaration) | |
---|
Property FrameState As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim value As Integer
instance.FrameState = value
value = instance.FrameState
|
C# | |
---|
int FrameState {get; set;} |
C++/CLI | |
---|
property int FrameState {
int get();
void set (int value);
} |
Return Value
Window state as defined in swWindowState_e
Example
Visual Basic for Applications (VBA)
Option Explicit
Dim swApp As SldWorks.SldWorks
Sub main()
Set swApp = Application.SldWorks
' Set the SolidWorks window the specified height, width, state, and location
swApp.FrameHeight = 500
swApp.FrameLeft = 100
swApp.FrameState = swWindowNormal
swApp.FrameTop = 100
swApp.FrameWidth = 500
End Sub
See Also
Availability
SolidWorks 2009 FCS, Revision Number 17.0