←Select platform

SetRectangles Method

Summary

Replaces the rectangles of this AnnTextReviewObject.

Syntax

C#
VB
Java
WinRT C#
C++
public virtual void SetRectangles( 
   LeadRectD[] rects 
) 
Public Overridable Sub SetRectangles( _ 
   ByVal rects() As Leadtools.LeadRectD _ 
)  
public virtual void SetRectangles(  
   Leadtools.LeadRectD[] rects 
) 
public void setRectangles(LeadRectD[] rects) 
 function Leadtools.Annotations.Core.AnnTextReviewObject.SetRectangles(  
   rects  
) 
public:  
   virtual void SetRectangles( 
      array<LeadRectD^>^ 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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly