Draws an element on the Graphics.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public virtual void Draw( PdfCanvas graphics, float x, float y )
Public Overridable Sub Draw ( graphics As PdfCanvas, x As Single, y As Single )
public: virtual void Draw( PdfCanvas^ graphics, float x, float y )
abstract Draw : graphics : PdfCanvas * x : float32 * y : float32 -> unit override Draw : graphics : PdfCanvas * x : float32 * y : float32 -> unit
Parameters
- graphics
- PdfCanvas
Graphics context where the element should be printed.
- x
- Single
X co-ordinate of the element.
- y
- Single
Y co-ordinate of the element.