Form FlowsheetSearch Surface Objects By Name Method
Searches the specified drawing surface for a graphic object whose internal name matches exactly.
Definition
Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
The matching GraphicObject, or Nothing if not found.
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
C#
public static GraphicObject SearchSurfaceObjectsByName(
string Name,
GraphicsSurface Surface
)VB
Public Shared Function SearchSurfaceObjectsByName (
Name As String,
Surface As GraphicsSurface
) As GraphicObjectParameters
- Name String
- The unique internal name to search for.
- Surface GraphicsSurface
- The drawing surface to search.
Return Value
GraphicObjectThe matching GraphicObject, or Nothing if not found.