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

Rectangle

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:

See Also

Rectangle
AutoLayout
ceTe.DynamicPDF.PageElements

In this topic