|
Draw Ellipse on specific page of PDF file.
Public Function PDFDrawEllipse( _ ByVal iPageNo As Integer, _ ByVal iLeft As Integer, _ ByVal iTop As Integer, _ ByVal iWidth As Integer, _ ByVal iHeight As Integer, _ ByVal iBorderWidth As Integer, _ ByVal iRedColor As Integer, _ ByVal iGreenColor As Integer, _ ByVal iBlueColor As Integer ) As bool
|
Parameter
iPageNo specifies page no. for draw a ellipse. The first page is zero index.
The iLeft, iTop, iWidth, iHeight, iBorderWidth unit is Centimeters. 10000 = 1 CM. iLeft specifies the x-coordinate of the upper-left corner of the ellipse to draw.
iTop specifies the y-coordinate of the upper-top corner of the ellipse to draw.
iWidth specifies the width of the ellipse to draw.
iHeight specifies the height of the ellipse to draw.
iBorderWidth specifies the width of the border.
iRedColor The color value with red component of rectangle color (0-255).
iGreenColor The color value with green component of rectangle color (0-255).
iBlueColor The color value with blue component of rectangle color (0-255).
Return Value
Return true if successful. Return false if failed.
Example
|
Visual Basic Syntax ImageViewer1.PDFOutputPDFA = True ImageViewer1.PDFInitAnnotation ImageViewer1.PDFDrawRectangle 0, 40000, 30000, 12000, 80000, 1, 0, 255, 0
|
|
|