Gets or sets the width of the frame of the SOLIDWORKS window.
.NET Syntax
Visual Basic (Declaration) | |
---|
Property FrameWidth As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim value As System.Integer
instance.FrameWidth = value
value = instance.FrameWidth |
C# | |
---|
System.int FrameWidth {get; set;} |
C++/CLI | |
---|
property System.int FrameWidth {
System.int get();
void set ( & System.int value);
} |
Property 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
Remarks
See Also
Availability
SOLIDWORKS 2009 FCS, Revision Number 17.0