IEditorView interface
Namespace: NextDesign.Desktop
Description
This is a common interface for the main/sub editor UI.
Affiliation area
Name | Description |
---|---|
User interface | A group of APIs that access the UI such as the editor and navigator. |
Inherit Base
Name | Description |
---|---|
IUIElement | Provides access to UI elements. |
Property
Name | Description |
---|---|
DiffEditor | Diff Editor Returns null if the editor view does not have a Diff Editor (). () The following views are applicable. ・Configuration editor ・Custom editor |
Editor | Current editor |
HasDiffEditor | Checks if this editor view has a diff editor. |
SelectedModels | The models selected in the editor The collection of selected elements is in arbitrary order. Returns an empty collection if no models are selected. |
ViewDefinitions | List 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
Name | Description |
---|---|
GetImage | Gets a bitmap image of the view to display in the editor. Returns null if the image could not be obtained. |
SaveImage | Saves 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. |
SelectViewDefinition | Switches 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. |