Click or drag to resize

PdfShapeWidget Class

Base class for the main shapes.
Inheritance Hierarchy

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public abstract class PdfShapeWidget : PdfLayoutWidget

The PdfShapeWidget type exposes the following members.

Constructors
Name Description
Protected method PdfShapeWidget
Initializes a new instance of the PdfShapeWidget class
Top
Methods
Name Description
Public method Draw(PdfCanvas)
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget .)
Public method Draw(PdfCanvas, PointF)
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget .)
Public method Draw(PdfPageBase, PointF)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, RectangleF)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfCanvas, Single, Single)
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget .)
Public method Draw(PdfPageBase, PointF, PdfTextLayout)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, RectangleF, PdfTextLayout)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, RectangleF, Boolean)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, Single, Single)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, Single, Single, PdfTextLayout)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Protected method DrawInternal
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetBounds
Gets the bounds.
Protected method GetBoundsInternal
Returns a rectangle that bounds this element.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method Layout
Layouts the element.
(Overrides PdfLayoutWidget Layout(PdfLayoutParams) .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Events
Name Description
Public event BeginPageLayout
Event. Raises before the element should be printed on the page.
(Inherited from PdfLayoutWidget .)
Public event EndPageLayout
Event. Raises after the element was printed on the page.
(Inherited from PdfLayoutWidget .)
Top
See Also