Method Rectangle

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

Rectangle(double, double, double, double)

Adds a rectangle as a closed subpath (operator re).

public ContentStreamWriter Rectangle(double x, double y, double width, double height)

Parameters

x double

Left edge, in points.

y double

Bottom edge, in points.

width double

Width, in points.

height double

Height, in points.

Returns

ContentStreamWriter

Exceptions

InvalidOperationException

Called inside a text object.