KitchenDraw SDK 2
Show / Hide Table of Contents

Property Mode

Mode

Current mode of the scene view.

Declaration
public Scene.ViewMode Mode { get; set; }
Property Value
Type Description
Scene.ViewMode
Remarks

Attention: this property does not change the current view of the KitchenDraw user interface. It changes the internal graphical view mode of the current scene which is taken into account during the execution of certain SDK functionality like ExportImage(string, int, int, bool, string, int, int). Thus it is possible to export several images of the current scene (top view, elevations, 3D perspectives) setting Mode several times and calling ExportImage(string, int, int, bool, string, int, int) in a completely transparent way for the user, i.e. without swing between the various views on the screen.

To change the view in the KitchenDraw user interface, it is necessary to call the ExecuteMenuItem(MenuItem) method with the wished menu item identifier.

In this article
Back to top Generated by DocFX