Search Results for

    Show / Hide Table of Contents

    Method CreateFrame

    CreateFrame(DocumentId, Frame2D)

    Creates a frame entity in a document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 6, 0, 0)]
    ElementId CreateFrame(DocumentId inDocumentId, Frame2D inGeometry)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to modify.

    Frame2D inGeometry

    Frame geometry.

    Returns
    Type Description
    ElementId

    Identifier of the created frame entity.

    Remarks

    StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.

    This method is available since v7.6.

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

    Copyright ©2025 TopSolid - All rights reserved.