SetRectangles Method (original) (raw)

Syntax

C#

Objective-C

C++/CLI

Java

Python

- (void)setRectangles:(LTLeadRectCollection *)rects; 
public void setRectangles(LeadRectD[] rects) 
def SetRectangles(self,] rects): 

Parameters

rects
The array of new rectangles to be set for this object.

Remarks

This is a helper method that will clear the Points collection and then add the top-left and bottom-right corner points of each item in rects to Points. When this method returns, the number of points in the collection will be the number of rects items multiplied by two.

Leadtools.Annotations.Engine Assembly