AutoLayout.AddLine
Adds a Line to the AutoLayout .
public Line AddLine(float x1, float y1, float x2, float y2, [float width = 1], [bool newPage = False], [float? topPadding = null])
Function AddLine(x1 As Single, y1 As Single, x2 As Single, y2 As Single, Optional width As Single = 1, Optional newPage As Boolean = False, Optional topPadding As Single? = null) As Line
Parameters
- x1
- Single
X1 coordinate of the line.
- y1
- Single
Y1 coordinate of the line.
- x2
- Single
X2 coordinate of the line.
- y2
- Single
Y2 coordinate of the line.
- width
- Single
Width of the line. By default it is 1.0f
- 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 Line 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.