ApplySymbologyUnclassedColors

ApplySymbologyUnclassedColors method specifies the attribute field used to define the symbology - unclassed colors in the VectorBaseLayer object and displays features that do not have an attribute value in the layer.

Syntax

object.ApplySymbologyUnclassedColors(AttributeField, ShowMissingValues)

Parameter

Type

Default

Description

AttributeField

String

 

required

ShowMissingValues

Boolean

True

optional

Example 1

This example demonstrates adding an unclassed color layer of symbols.

Dim Surfer As Object

Set Surfer = GetObject(,"Surfer.Application")

Surfer.Visible = True

 

' Create symbology using unclassed colors

Set doc = Surfer.Documents.Add

Set map = doc.Shapes.AddDataBaseMap(ImportFileName:=Surfer.Path+"\samples\NV_LasVegasValley_2010_000379.laz", ImportOptions:="AcceptNthPoint=1000")

Set layer = map.Overlays.Item(1)

 

layer.ApplySymbologyUnClassedColors(AttributeField:="Column D")

layer.ShowLegend = True

Example 2

This example shows changing the symbology colormap to grayscale.

' Change the colormap to grayscale

layer.SymbologyColorMap(Type:=SrfSymCMUnC).LoadPreset("GrayScale")

Used by: VectorBaseLayer object

See Also

Legend

PostLayer Object

Symbology

Vector Base Layer