RemoveUserInterface Method (IApplication)

RemoveUserInterface Method (IApplication) | Send Feedback
See Also

ApiUuid
  UUID of the add-in

Removes an add-in's user interface from the DraftSight user interface.

# Syntax

Visual Basic |
--- | ---
    Sub RemoveUserInterface( _
       ByVal ApiUuid As System.String _
    )

C# |
--- | ---
    void RemoveUserInterface(
       System.string ApiUuid
    )

JavaScript |
--- | ---
    RemoveUserInterface(
       ApiUuid : String
    )

COM native C++ |
--- | ---
    HRESULT RemoveUserInterface(
       BSTR ApiUuid
    )

C++ |
--- | ---
    DSRESULT RemoveUserInterface(
       const dsString& ApiUuid
    )

#### Parameters

ApiUuid
  UUID of the add-in

# Example

This code snippet shows how to remove an add-in's user interface from the DraftSight user interface (from the DraftSight API COM native C++ template file DsAddinConnection.h).

#### COM native C++

> m_DsApp->RemoveUserInterface( m_sApiUuid );

# See Also

####

IApplication Interface
IApplication Members

# Availability

DraftSight V1R1