



Collapse All
Syntax| HRESULT PDFPAGE_Rectangle ( DOUBLE left, DOUBLE top, DOUBLE right, DOUBLE bottom ) |
RemarksThis method draws a rectangle with left-top corner at (left, top) and right-bottom corner at (right, bottom).
Equivalent in new interface: IPDFDocument4::DrawRectangle.
Example{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_Rectangle(10, 10, 310, 210);
PDF.PDFPAGE_Stroke;
PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_Rectangle(10, 10, 310, 210); PDF->PDFPAGE_Stroke(); PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_Rectangle(10, 10, 310, 210); PDF.PDFPAGE_Stroke(); PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_Rectangle 10, 10, 310, 210 PDF.PDFPAGE_Stroke PDF.EndDoc
See Also