Method PublishShape
PublishShape(DocumentId, string, SmartShape)
Creates a shape publishing entity in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 302, 80)]
ElementId PublishShape(DocumentId inDocumentId, string inDescription, SmartShape inDefinition)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| string | inDescription | Publishing description. |
| SmartShape | inDefinition | Publishing definition. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created publishing entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.8.302.80.