API Documentation > CorelDRAW > 2025-v26 > Controls > ICUIControls
Controls.AddCustomControl method
Adds a user custom control to the collection
Syntax:
Function AddCustomControl(ByVal ClassName As String, Optional ByVal AssemblyPath As String = "", Optional ByVal Index As Long = 0, Optional ByVal Temporary As Boolean = False) As Control
Parameters:
Name Type Description
ClassName
String
AssemblyPath
String
Index
Long
Temporary
Boolean