AutoLayout.AddRectangle
Adds a Rectangle to the AutoLayout .
public Rectangle AddRectangle(float width, float height, [bool newPage = False], [float? topPadding = null])
Function AddRectangle(width As Single, height As Single, Optional newPage As Boolean = False, Optional topPadding As Single? = null) As Rectangle
Parameters
- width
 - Single
 
Width of the rectangle.
- height
 - Single
 
Height of the rectangle.
- newPage
 - Boolean
 
Adds the element to the next page if set to true. By default it is false.
- topPadding
 - Single?
 
Top padding for the element.
Returns
Returns a Rectangle object.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
 - An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
 - A DynamicPDF Core Suite for .NET v12.X Developer License.