Region2d.Item Property

Indexed direct access to the polys in the region. Setting a poly will clone this poly before inserting it into the region. Indexing an empty region will throw an exception.
Public Property Item( _ 
ByVal idx As Integer
) As Poly2d
This language is not supported or no code example is available.
public Poly2d this[ 
int idx 
] {get; set;}
This language is not supported or no code example is available.
public:  
property Poly2d^ Item[int] { 
Poly2d^ get( 
int idx 
); 
void set( 
int idx
Poly2d^ value 
); 
}
This language is not supported or no code example is available.
JScript suports the use of indexed properties, but not the declaration of new ones.
This language is not supported or no code example is available.

Parameters

idx
int

The index of the poly to get/set. This index is circular and will wrap over both negative and positive, which means index -1 is the last region in the poly.

Property Value

Poly2d

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition