AGI AgAttrAutomation 6 Send comments on this topic.
AddDoubleMinDispatchProperty 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 value of this attribute. The property must be of the type double.
MinVal
Minimum value allowed (as double).
Flags
Bitwise combination of AgEAttrAddFlags flags.
Windows








Description

Add an Attribute of type double with a min to the Attribute Scope.

Syntax

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

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

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

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

[VBScript]
'Sub object.AddDoubleMinDispatchProperty(...)
' DispScope is type Object (an object)
' Name is type String
' Description is type String
' PropName is type String
' MinVal is type Double
' Flags is type ppLong
Call object.AddDoubleMinDispatchProperty(DispScope, Name, Description, PropName, MinVal, Flags)

[Perl]
$objectReference->AddDoubleMinDispatchProperty(
$DispScope, # type Object (object reference)
$Name, # type string (scalar)
$Description, # type string (scalar)
$PropName, # type string (scalar)
$MinVal, # type double (scalar)
$Flags# type int (scalar)
);

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 value of this attribute. The property must be of the type double.
MinVal
Minimum value allowed (as double).
Flags
Bitwise combination of AgEAttrAddFlags flags.

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5