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