Search Results for

    Show / Hide Table of Contents

    Method PublishText

    PublishText(DocumentId, string, SmartText)

    Creates a text publishing entity in a document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 8, 0, 0)]
    ElementId PublishText(DocumentId inDocumentId, string inDescription, SmartText inDefinition)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to modify.

    string inDescription

    Publishing description.

    SmartText 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.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.