CreateCustomPropertyControl2 Method (IApplication) Send Feedback
See Also 
CustomPropertyControl[out]
Custom tab
ControlName
Name of the application-defined tab
InitialArea
Location where the application-defined tab is initially docked as defined in dsCustomPropertyControlArea_e
AllowedAreas
Locations where a user is allowed to dock the application-defined tab as defined in dsCustomPropertyControlArea_e
Creates a custom tab.

Syntax

Visual Basic 
Function CreateCustomPropertyControl2( _
   ByVal ControlName As System.String, _
   ByVal InitialArea As dsCustomPropertyControlArea_e, _
   ByVal AllowedAreas As System.Integer _
) As CustomPropertyControl
C# 
CustomPropertyControl CreateCustomPropertyControl2( 
   System.string ControlName,
   dsCustomPropertyControlArea_e InitialArea,
   System.int AllowedAreas
)
JavaScript 
CreateCustomPropertyControl2( 
   ControlName : String,
   InitialArea : String,
   AllowedAreas : Number
) : dsCustomPropertyControl
COM native C++ 
HRESULT CreateCustomPropertyControl2( 
   BSTR ControlName,
   dsCustomPropertyControlArea_e InitialArea,
   LONG AllowedAreas,
   ICustomPropertyControl** CustomPropertyControl
) 
C++ 
DSRESULT CreateCustomPropertyControl2( 
   const dsString& ControlName,
   dsCustomPropertyControlArea_e InitialArea,
   long AllowedAreas,
   dsCustomPropertyControl** CustomPropertyControl
) 

Parameters

ControlName
Name of the application-defined tab
InitialArea
Location where the application-defined tab is initially docked as defined in dsCustomPropertyControlArea_e
AllowedAreas
Locations where a user is allowed to dock the application-defined tab as defined in dsCustomPropertyControlArea_e
CustomPropertyControl[out] or Return Value
Custom tab
 

See Also

Availability

DraftSight V1R5.0