Description
Adds a Circle to the AreaGroup object and returns a New Circle object.
Syntax
Public Function AddCircle( _
ByVal X As Single, _
ByVal Y As Single, _
ByVal Radius As Single _
) As Circle
Parameters
- X
- The X Coordinate of the Circle.
- Y
- The Y Coordinate of the Circle.
- Radius
- The radius of the Circle.
Return Type
A Circle 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() Dim MyAreaGroup Set MyAreaGroup = MyPage.AddAreaGroup( 400, 300 ) ' Create a Circle within the Area Group Dim MyGroupCircle Set MyGroupCircle = MyAreaGroup.AddCircle( 100, 200, 50) ' Applying Color to the Circle with FillColor and BorderColor MyGroupCircle.Apply = DPDF_ApplyColor_Both MyGroupCircle.BorderColor = "000000" 'Black MyGroupCircle.FillColor = "FF4500" 'Orange Red ' Draw the PDF MyDocument.DrawToWeb Set MyPage = Nothing Set MyDocument = Nothing %>
|
See Also
AreaGroup Object