ShapeObject Constructor (IDocument, ShapeType)
|
Creates a new shape object.
Namespace:
Spire.Doc.Fields
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public ShapeObject(
IDocument doc,
ShapeType shapeType
)
Public Sub New (
doc As IDocument,
shapeType As ShapeType
)
public:
ShapeObject(
IDocument^ doc,
ShapeType shapeType
)
new :
doc : IDocument *
shapeType : ShapeType -> ShapeObject
Parameters
-
doc
-
Type:
Spire.Doc.Interface
IDocument
The owner document.
-
shapeType
-
Type:
Spire.Doc.Documents
ShapeType
The type of the shape to create.
See Also