Gets or sets the width of the frame of the SolidWorks window.
.NET Syntax
Visual Basic (Declaration) | |
---|
Property FrameWidth As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim value As Integer
instance.FrameWidth = value
value = instance.FrameWidth
|
C# | |
---|
int FrameWidth {get; set;} |
C++/CLI | |
---|
property int FrameWidth {
int get();
void set (int value);
} |
Return Value
Width of the SolidWorks window in pixels
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