Implements

Constructors

  • No longer use 'new' to create, but use create instead.

    Parameters

    Returns PageEditor

    const pageEditor = await PageEditor.create();
    

Properties

options?: Options

Methods

  • Starts the graphic object utilities for a given page and document view.

    Parameters

    • filter: number

      The filter to apply to the graphic object utilities.

    Returns Promise<void>

    A promise that resolves when the operation is complete.

  • Creates a new image object on the page.

    Parameters

    • diBitmap: DIBitmapType

      The DIBitmap object representing the image to be created.

    • point: Point

      The position where the image will be placed.

    • pix: number

      The horizontal DPI of the image.

    • piy: number

      The vertical DPI of the image.

    Returns Promise<boolean>

    A promise that resolves with a boolean indicating whether the image was successfully created.

  • Checks if the page editor is in object edit mode.

    Returns Promise<boolean>

    A promise that resolves to true if in object edit mode, false otherwise.

  • No longer use 'new' to create, but use create instead.

    Parameters

    Returns Promise<PageEditorType>

    Create a PageEditor instance

    const pageEditor = await PageEditor.create();