SamplingDistance Property
SamplingDistance returns or sets the sampling distance for a viewshed layer. Returns a double.
Syntax
object. SamplingDistance
object. SamplingDistance = SamplingDistance
Parameter |
Type |
Description |
SamplingDistance |
double |
required |
Remarks
The units of the SamplingDistance value are the specified by the linear distance units of the coordinate system.
Example 1
The following example demonstrates how to return the sampling distance for the viewshed.
Debug.Print ViewshedLayer.SamplingDistance
Example 2
The following example demonstrates how to set the sampling distance for the viewshed to 21.8.
ViewshedLayer.SamplingDistance = 21.8
Used by: ViewshedLayer Object