Draws a rectangle into the current page of a PDF.
public PdfDrawRectangle( int PdfID, Single DstX, Single DstY, Single Width, Single Height, Single BorderWidth, Color PenColor, Single RectAngle );
Public Sub PdfDrawRectangle( ByVal PdfID As Integer, ByVal DstX As Single, ByVal DstY As Single, ByVal Width As Single, ByVal Height As Single, ByVal BorderWidth As Single, ByVal PenColor As Color, ByVal RectAngle As Single )
|
Parameters |
Description |
|
PdfID |
A PDF identifier returned by the PdfNewPdf(), PdfOCRStart(), PdfOcrStartStream(), TwainPDFStart() or TwainPdfStartStream() function. |
|
DstX |
The X destination in current unit defined by the PdfSetMeasurementUnit() function. |
|
DstY |
The Y (from the bottom) destination in current unit defined by the PdfSetMeasurementUnit() function. |
|
Width |
Width in current unit defined by the PdfSetMeasurementUnit() function. |
|
Height |
Height in current unit defined by the PdfSetMeasurementUnit() function. |
|
BorderWidth |
The border width in point. |
|
PenColor |
Color Object. You can build a Color Object using the ARGB() function. Color used to draw the rectangle. |
|
RectAngle |
If <> 0, specifies the ray of the curve used to round the borders of the rectangle. |
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|