Click or drag to resize

RenderMode Enumeration

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
An enumeration representing the three stages of rendering, which are used by Render(Graphics, RenderContext) and RenderContext to control the priority and behavior of rendering objects.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
[FlagsAttribute]
public enum RenderMode
Members
  Member nameValueDescription
None0 Objects with a RenderMode of None are not rendered.
PreMap1 Objects that render PreMap are drawn before polygons are rendered - typically used for satellite imagery.
PreLabelling2 Objects that render in PreLabelling are drawn first, before labels are rendered.
Labelling4 Objects that render in Labelling are drawn after those that render in PreLabelling, but before labels are rendered.
PostLabelling8 Objects that render PostLabelling are drawn last, after labels are rendered.
Remarks

RenderMode values may be used to give priority to the rendering of certain objects, entirely independent of their order in a RendererList.

When rendering occurs four passes are made over the objects in a RendererList. During the first pass, objects that implement PreMap rendering are drawn. The second pass covers PreLabelling, the third Labelling and the fourth PostLabelling. There is essentially no difference in the behavior of objects rendered in PreLabelling or Labelling, other than that PreLabelling objects render first. This is nevertheless an important distinction as it allows for two levels of priority in rendering before labels are drawn on the map. An example is BalloonPushPin which renders the PushPin icon in PreLabelling, and then follows up by rendering the informational balloon in Labelling.

Related articles: Render Modes in Detail.

See Also