THPDFContentBuilder.DrawRectangle Method

Appends the re operator to add a rectangle path

Declaration

function DrawRectangle(X, Y, Width, Height: Single): THPDFContentBuilder;

Unit

HPDFDoc

Parameters

NamePurpose
XPage coordinate or size value expressed in the current HotPDF coordinate space
YPage coordinate or size value expressed in the current HotPDF coordinate space
WidthPage coordinate or size value expressed in the current HotPDF coordinate space
HeightPage coordinate or size value expressed in the current HotPDF coordinate space

Return value

Returns a THPDFContentBuilder value

Usage notes

Related APIs