You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > PDF Creation > Low-level Functions > PdfDrawFilledRectangle Method > PdfDrawFilledRectangle Method (Integer, Single, Single, Single, Single, Color, Single, Color, Single)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PdfDrawFilledRectangle Method (Integer, Single, Single, Single, Single, Color, Single, Color, Single)

Draws a filled rectangle having specified border color & border width into the current page of a PDF.

C#
public PdfDrawFilledRectangle(
    int PdfID, 
    Single DstX, 
    Single DstY, 
    Single Width, 
    Single Height, 
    Color FillColor, 
    Single BorderWidth, 
    Color BorderColor, 
    Single RectAngle
);
Visual Basic
Public Sub PdfDrawFilledRectangle(
    ByVal PdfID As Integer, 
    ByVal DstX As Single, 
    ByVal DstY As Single, 
    ByVal Width As Single, 
    ByVal Height As Single, 
    ByVal FillColor As Color, 
    ByVal BorderWidth As Single, 
    ByVal BorderColor As Color, 
    ByVal RectAngle As Single
)
Parameters
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 destination (from the bottom) 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.  
FillColor 
Color Object. You can build a Color Object using the ARGB() function. Color used to fill the rectangle.  
BorderWidth 
The border width in point.  
BorderColor 
Color Object. You can build a Color Object using the ARGB() function. Color of the rectangle borders.  
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.