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