This document is archived and information here might be outdated. Recommended version. |
Surface used for Z capture.
[Visual Basic .NET] Public Property Surface As IFunctionalSurface
[C#] public IFunctionalSurface Surface {get; set;}
This property defines the surface used to calculate new z-values. By default, the surface for the editor is built from any available sources (Terrains, Tins, and Rasters) added to the map.
If you choose to use a particular surface for z-capture, assign your surface to this property. This overrides the default "composite" surface defined by the available surfaces defined in your map. This surface does not need to be obtained through a layer in the map, although this is an efficient way to access surface-related information. Any layer associated with this surface does not need to be visible in order to be used for z-capture.
Setting this property to NULL will revert back to the "composite" surface defined by the surfaces in the map.
This property is only active when the editor's ZCaptureType is set to SurfaceZ.