Describes a graphics element which can be drawn by a pen.
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 abstract class PdfDrawWidget : PdfShapeWidget
Public MustInherit Class PdfDrawWidget Inherits PdfShapeWidget
public ref class PdfDrawWidget abstract : public PdfShapeWidget
[<AbstractClassAttribute>] type PdfDrawWidget = class inherit PdfShapeWidget end
Members
| All Members | Constructors | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| PdfDrawWidget()()()() | Initializes a new instance of the PdfDrawWidget class | |
| PdfDrawWidget(PdfPen) | Initializes a new instance of the PdfDrawWidget class | |
| BeginPageLayout |
Event. Raises before the element should be printed on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfCanvas) |
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget.) | |
| Draw(PdfCanvas, PointF) |
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget.) | |
| Draw(PdfPageBase, PointF) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, RectangleF) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfCanvas, Single, Single) |
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget.) | |
| Draw(PdfPageBase, PointF, PdfTextLayout) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, RectangleF, PdfTextLayout) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, RectangleF, Boolean) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, Single, Single) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, Single, Single, PdfTextLayout) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| DrawInternal(PdfCanvas) | (Inherited from PdfGraphicsWidget.) | |
| EndPageLayout |
Event. Raises after the element was printed on the page.
(Inherited from PdfLayoutWidget.) | |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetBounds()()()() |
Gets the bounds.
(Inherited from PdfShapeWidget.) | |
| GetBoundsInternal()()()() | (Inherited from PdfShapeWidget.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetPen()()()() | ||
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Layout(HtmlToPdfLayoutParams) | (Inherited from PdfLayoutWidget.) | |
| Layout(PdfLayoutParams) | (Inherited from PdfShapeWidget.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Pen |
Gets or sets a pen that will be used to draw the element.
| |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Graphics..::..PdfGraphicsWidget
Spire.Pdf.Graphics..::..PdfLayoutWidget
Spire.Pdf.Graphics..::..PdfShapeWidget
Spire.Pdf.Graphics..::..PdfDrawWidget
Spire.Pdf.Graphics..::..PdfFillElement
Spire.Pdf.Graphics..::..PdfGraphicsWidget
Spire.Pdf.Graphics..::..PdfLayoutWidget
Spire.Pdf.Graphics..::..PdfShapeWidget
Spire.Pdf.Graphics..::..PdfDrawWidget
Spire.Pdf.Graphics..::..PdfFillElement