



Collapse All
Syntax| HRESULT PDFPAGE_RoundRect ( DOUBLE left, DOUBLE top, DOUBLE right, DOUBLE bottom, DOUBLE width, DOUBLE height ) |
RemarksThis method draws a rectangle with left-top corner at (left, top) and right-bottom corner at (right, bottom). The curve of the rounded corners matches the curvature of an ellipse with width and height equal to width and height.
Equivalent in new interface: IPDFDocument4::DrawRoundRectangle.
Example{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_RoundRect(200, 100, 410, 310, 50, 50);
PDF.PDFPAGE_Stroke;
PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_RoundRect(200, 100, 410, 310, 50, 50); PDF->PDFPAGE_Stroke(); PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_RoundRect(200, 100, 410, 310, 50, 50); PDF.PDFPAGE_Stroke(); PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_RoundRect 200, 100, 410, 310, 50, 50 PDF.PDFPAGE_Stroke PDF.EndDoc
See Also