@inweb/viewer-visualize
    Preparing search index...

    Interface IMarkupImageParams

    Defines the parameters for creating a markup image.

    interface IMarkupImageParams {
        height?: number;
        id?: string;
        maxHeight?: number;
        maxWidth?: number;
        position?: { x: number; y: number };
        src?: string;
        width?: number;
    }
    Index

    Properties

    height?: number

    Height of the image. The original image is scaled to this height. Specify 0 to set height of the source image.

    0
    
    id?: string

    Internal markup object identifier.

    maxHeight?: number

    Maximum height of the image. Specify a max height if you want to set the height to the original image but not more than the max.

    maxWidth?: number

    Maximum width of the image. Specify a max width if you want to set the width to the original image but not more than the max.

    position?: { x: number; y: number }

    Coordinates of the top-left point (position) of the image.

    src?: string

    Image source as a base64-encoded Data URL.

    width?: number

    Width of the image. The original image is scaled to this width. Specify 0 to set width of the source image.

    0