AutoLayout.AddButton
Adds a Button to the AutoLayout .
public Button AddButton(string name, float width, float height, [bool newPage = False], [float? topPadding = null])
Function AddButton(name As String, width As Single, height As Single, Optional newPage As Boolean = False, Optional topPadding As Single? = null) As Button
Parameters
- name
- String
Name of a button.
- width
- Single
Width of a button.
- height
- Single
Height of a button.
- 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 Button 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.