i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > app > INodeEditor > setImage

    app.INodeEditor.setImage() method

    Sets the image for the node.

    Signature:

    setImage(href: string, description?: string): this;
    

    Introduced: version 1.5

    Parameters

    Parameter Type Description
    href string The URL of the image to use.
    description string (Optional) A description of the image.

    Returns:

    this

    The node, with its image set to the specified URL and description.

    In this article
    Back to top © N. Harris Computer Corporation