ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Layer Class / CanGetZsAsync Method

In This Topic
    CanGetZsAsync Method
    In This Topic
    Determines whether the layer can be used as an elevation source to retrieve Z values for geometries.
    Syntax
    public Task<bool> CanGetZsAsync()
    Public Function CanGetZsAsync() As Task(Of Boolean)

    Return Value

    True if this layer can be used by the GetZsAsync methods, False otherwise
    Remarks
    Not all layers can be used as an elevation source. Typically TINs and some rasters are supported. Also some image service files that support non-binary levels of detail.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also