#1 Get Shape by index to avoid memory issue

open
nobody
None
5
2010-06-24
2010-06-24
Anonymous
No

Just add the following lines in the ShapeFile object part :

public Shape GetShape(Int32 nbShape)
{
if (nbShape >= this.NumShapes)
return null;
return new Shape(this, nbShape);
}

Regards,
Jerome

Discussion


Log in to post a comment.