← Back to carmenta.com
Carmenta Engine SDK Documentation
×

ToolUpdateMode Enumeration

Specifies how the StandardTool updates the display during a pan or zoom operation.

Namespace: Carmenta.Engine
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)

Syntax

C#
public enum ToolUpdateMode

Values

Value nameValueDescription
Live0

Indicates that the tool calls View.Update each time the view position or scale is changed. If the map is fast to update, this will work well. However, for slower map configurations, the Bitmap update mode may work better.

Bitmap1

Indicates that the tool at the beginning of the operation takes a bitmap copy of the window contents. It then uses this bitmap to redraw the map window during the operation. This may be much quicker than calling View.Update each time, thereby giving better feedback to the user. The downside is that the map is not correctly redrawn; new exposed areas are not filled in, and the image quality may be degraded when the user is zooming. When the user releases the mouse, the tool will call View.Update once, restoring full quality.

Platforms

Windows, Linux, Android

See Also

Reference

Core Module
StandardTool

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept