AGI AgAttrAutomation 11 Send comments on this topic.
AddIntMinMaxDispatchProperty Method (IAgAttrBuilder)
See Also 
DispScope
The attribute container (scope) where the attribute will be added.
Name
Name of the attribute to add.
Description
Description of the attribute to add.
PropName
Name of the property to be called to set/get the values of this attribute. The property must be of the type integer.
MinVal
Minimum value allowed (as integer).
MaxVal
Maximum value allowed (as integer).
Flags
Bitwise combination of AgEAttrAddFlags flags.





Description

Add an Attribute of type int with a min and max to the Attribute Scope.

Syntax

[Visual Basic .NET]
Public Sub AddIntMinMaxDispatchProperty( _
   ByVal DispScope As Object, _
   ByVal Name As String, _
   ByVal Description As String, _
   ByVal PropName As String, _
   ByVal MinVal As Integer, _
   ByVal MaxVal As Integer, _
   ByVal Flags As Integer _
) 

[C#]
public void AddIntMinMaxDispatchProperty(
Object DispScope,
string Name,
string Description,
string PropName,
int MinVal,
int MaxVal,
int Flags
);

[Managed C++]
public: void AddIntMinMaxDispatchProperty(
IUnknown ^ DispScope,
String __gc ^ Name,
String __gc ^ Description,
String __gc ^ PropName,
int MinVal,
int MaxVal,
int Flags
);

[Java]
public  addIntMinMaxDispatchProperty(
Object DispScope,
String Name,
String Description,
String PropName,
ppInteger MinVal,
ppInteger MaxVal,
int Flags
);

[Unmanaged C++]
public: HRESULT AddIntMinMaxDispatchProperty(
IUnknown * DispScope,
BSTR Name,
BSTR Description,
BSTR PropName,
int MinVal,
int MaxVal,
long Flags
);

Parameters

DispScope
The attribute container (scope) where the attribute will be added.
Name
Name of the attribute to add.
Description
Description of the attribute to add.
PropName
Name of the property to be called to set/get the values of this attribute. The property must be of the type integer.
MinVal
Minimum value allowed (as integer).
MaxVal
Maximum value allowed (as integer).
Flags
Bitwise combination of AgEAttrAddFlags flags.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1