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
Log in to post a comment.