Sets the position of the entities created in the drawing.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetPosition( _
ByVal Sheet As System.String, _
ByVal Positioning As System.Integer, _
ByVal X As System.Double, _
ByVal Y As System.Double _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IImportDxfDwgData
Dim Sheet As System.String
Dim Positioning As System.Integer
Dim X As System.Double
Dim Y As System.Double
Dim value As System.Boolean
value = instance.SetPosition(Sheet, Positioning, X, Y) |
C# | |
---|
System.bool SetPosition(
System.string Sheet,
System.int Positioning,
System.double X,
System.double Y
) |
C++/CLI | |
---|
System.bool SetPosition(
& System.String^ Sheet,
& System.int Positioning,
& System.double X,
& System.double Y
) |
Parameters
- Sheet
- Sheet (layout) name of the input file or an empty string for all sheets
- Positioning
- Position as defined in swDwgImportEntitiesPositioning_e
- X
- X coordinate of the origin of the imported drawing
- Y
- Y coordinate of the origin of the imported drawing
Return Value
True if the position is set, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0