EbsOpen Class Library for EBSILON®Professional

Model.Position Property

[C#] In C#, this property is the indexer for the Model class.

[Visual Basic]
Public Default Property ReadOnly Position( _ 
   Optional ByVal FromCurrentContext As Boolean = VARIANT_FALSE _ 
) As Rectangle
[C#]
public Rectangle this[
   bool FromCurrentContext
] { get; }
[C++]
public: __property Rectangle* get_Position(
   bool FromCurrentContext
);
[JScript]
returnValue = ModelObject.Item( FromCurrentContext );
-or-
returnValue = ModelObject( FromCurrentContext );

[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.

See Also

Model Class | EbsOpen Namespace