PathAppendRectangle Method

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions width and height in user space.

Namespace:  Apitron.PDF.Kit.FixedLayout.Content
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public void AppendRectangle(
	double x,
	double y,
	double width,
	double height
)

Parameters

x
Type: SystemDouble
The x.
y
Type: SystemDouble
The y.
width
Type: SystemDouble
The width.
height
Type: SystemDouble
The height.
Examples

C#
// create new rectangle path
FixedLayout.Content.Path path = new FixedLayout.Content.Path();
path.AppendRectangle(x, y, width, height);
page.Content.FillAndStrokePath(path);
See Also

Reference