Form FlowsheetAdd Object(Object Type, Int 32, Int 32, String) Method
Adds a new simulation object of the specified type at the given surface coordinates and returns the created object.
Definition
Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
C#
public ISimulationObject AddObject(
ObjectType t,
int xcoord,
int ycoord,
string tag
)VB
Public Function AddObject (
t As ObjectType,
xcoord As Integer,
ycoord As Integer,
tag As String
) As ISimulationObjectParameters
- t ObjectType
- The type of object to add.
- xcoord Int32
- X coordinate on the drawing surface.
- ycoord Int32
- Y coordinate on the drawing surface.
- tag String
- Optional user-visible tag for the new object.