WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Function exportEntitiesToImage

    • Render entities to an image via an off-screen PreviewView.

      The full document is loaded so every entity type is drawn correctly. When entities is a subset the view is zoomed to their bounds. The internal canvas never exceeds RENDER_MAX; the output is scaled to the requested dimensions afterwards.

      Parameters

      Returns Promise<IExportImageResult>