Skip to main content

IEditorView interface

Namespace: NextDesign.Desktop

Description

This is a common interface for the main/sub editor UI.

Affiliation area

NameDescription
User interfaceA group of APIs that access the UI such as the editor and navigator.

Inherit Base

NameDescription
IUIElementProvides access to UI elements.

Property

NameDescription
DiffEditorDiff Editor
Returns null if the editor view does not have a Diff Editor ().

(
) The following views are applicable.
・Configuration editor
・Custom editor
EditorCurrent editor
HasDiffEditorChecks if this editor view has a diff editor.
SelectedModelsThe models selected in the editor
The collection of selected elements is in arbitrary order.
Returns an empty collection if no models are selected.
ViewDefinitionsList of view definitions that can be selected in this editor
Returns an empty collection if there are no view definitions that can be selected.

Method

NameDescription
GetImageGets a bitmap image of the view to display in the editor.
Returns null if the image could not be obtained.
SaveImageSaves a bitmap image of the view displayed in the editor to the specified path.
Images are saved in PNG, JPEG, BMP, GIF, and XPS formats.
The save format is determined from the extension of the file path of the specified save destination, and if it cannot be determined from the extension, it will be in PNG format.
SelectViewDefinitionSwitches the view displayed in the editor.
Only view definitions that correspond to the editor's model, which can be obtained with ViewDefinitions, can be specified.