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])
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.
See Also
LineAutoLayout
ceTe.DynamicPDF.PageElements