PDF .NET Library Documentation - PDF Technologies, Inc.
Assembly: PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)
This function draws a rectangle.
Namespace:
PDFTechAssembly: PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)
Syntax
C# |
---|
public void DrawRectangle( PDFBrush brush, PDFPen pen, double left, double top, double width, double height ) |
Visual Basic (Declaration) |
---|
Public Sub DrawRectangle ( _ brush As PDFBrush, _ pen As PDFPen, _ left As Double, _ top As Double, _ width As Double, _ height As Double _ ) |
Visual C++ |
---|
public: void DrawRectangle( PDFBrush^ brush, PDFPen^ pen, double left, double top, double width, double height ) |
Parameters
- brush
- Type: PDFTech..::.PDFBrush
Brush that determines the characteristics of the fill.
- pen
- Type: PDFTech..::.PDFPen
Pen that determines the color and width of the rectangle.
- left
- Type: System..::.Double
left location
- top
- Type: System..::.Double
top location
- width
- Type: System..::.Double
rectangle width
- height
- Type: System..::.Double
rectangle height