IEditorView Interface
Namespace: NextDesign.Desktop
Description
Common interface for main and sub-editor UIs.
Belonging Area
Name | Description |
---|---|
User Interface | A set of APIs to access UIs such as editors and navigators. |
Inherit Base
Name | Description |
---|---|
IUIElement | Provides access to UI elements. |
Property
Name | Description |
---|---|
DiffEditor | Diff Editor If the editor view does not have a diff editor (※), returns null. (※)The following views are applicable. ・Configuration Editor ・Custom Editor |
Editor | Current Editor |
HasDiffEditor | Checks whether this editor view has a diff editor. |
SelectedModels | Models selected in the editor The order of the collection of selected elements is unspecified. If no models are selected, returns an empty collection. |
ViewDefinitions | List of view definitions that can be selected in this editor. If there are no view definitions to select, returns an empty collection. |
Method
Name | Description |
---|---|
GetImage | Gets a bitmap image of the view displayed in the editor. If the image cannot be obtained, returns null. |
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 specified file path to save to, and if the format cannot be determined from the extension, PNG format is used. |
SelectViewDefinition | Switches the view displayed in the editor. Only view definitions that correspond to the editor's model and can be obtained from ViewDefinitions can be specified in the view definition. |