Description
Represents a rectangle.
For a list of all members defined in this module, see Rectangle members.
Remarks
This class can be used to place rectangles of any size or color on a page.
Interfaces
| Implemented Interface | Description |
| Object | |
Example
[ASP - VBScript]
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> <% ' Create a PDF Document Dim MyDocument Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) ' Create a Page and add it to the document Dim MyPage Set MyPage = MyDocument.AddPage() ' Create a rectangle ' Add the rectangle to the page Dim MyRectangle Set MyRectangle = MyPage.AddRectangle( 50, 50, 200, 200, "808080", "000000", 4, DPDF_LineStyle_Solid, DPDF_ApplyColor_Both ) ' Change the corner radius property to lesser values to see the effect MyRectangle.CornerRadius = 4 ' Draw the PDF MyDocument.DrawToWeb Set MyPage = Nothing Set MyDocument = Nothing %> |
See Also
Rectangle Members
© Copyright 2007, ceTe Software