[]
        
(Showing Draft Content)

IViewerPlugin

Interface: IViewerPlugin

Defines the interface for plugins used by GcImageViewer and DsImageViewer.

The plugin system is now intended for internal use only. Starting from version 9.0, only official plugins developed and distributed as part of the product are supported.

Custom or third-party plugins are no longer supported and may not function properly.

Internal plugins will continue to use this interface to extend viewer functionality.

Properties

id

id: PluginType;

Unique plug-in identifier.

Methods

dispose()

dispose(): void;

The method is called when the GcImageViewer component is about to be disposed.

Returns

void


initialize()

initialize(viewer): void;

The method is called when the GcImageViewer component is initialized.

Parameters

viewer

IImageViewer

Returns

void