Represents a circle.
For a list of all members of this type, see Circle members.
![]() ![]() ![]() ![]() ![]() ![]()
|
System.Object
ceTe.DynamicPDF.PageElement
ceTe.DynamicPDF.PageElements.Circle
[Visual Basic]
Public Class Circle
Inherits PageElement[C#]
public class Circle : PageElementThis class can be used to place circles on a page.
The following example will place two circles on the page with different size, shape and colors.
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements
Module MyModule
Sub Main()
' Create a PDF Document
Dim MyDocument As Document = New Document
' Create a Page and add it to the document
Dim MyPage As Page = New Page
MyDocument.Pages.Add(MyPage)
' Create two circles
Dim circle1 As Circle = New Circle(100, 100, 50, 100, Grayscale.Black, _
RgbColor.OrangeRed, 2, LineStyle.Solid)
Dim circle2 As Circle = New Circle(150, 75, 50, 50, Grayscale.Black, _
RgbColor.Lime, 2, LineStyle.Solid)
' Add the circles to the page
MyPage.Elements.Add(circle1)
MyPage.Elements.Add(circle2)
' Save the PDF
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System; |
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:
Namespace: ceTe.DynamicPDF.PageElements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: ceTe.DynamicPDF (in ceTe.DynamicPDF.dll)
Circle Members | ceTe.DynamicPDF.PageElements Namespace
© Copyright 2007, ceTe Software