ApplySymbologyUnclassedSymbols

ApplySymbologyUnclassedSymbols method specifies the attributes used to define the symbology's unclassed symbols in the VectorBaseLayer object and displays features that do not have an attribute value in the layer.

Syntax

object.ApplySymbologyUnclassedSymbols (AttributeField, ShowMissingValues, SymbolSet, SymbolIndex, MinimumSize, MaximumSize, ScalingMethod, FillColorMethod, FillColor, FillOpacity, LineColorMethod, LineColor, LineOpacity )

Parameter

Type

Default

Description

AttributeField

String

 

required

ShowMissingValues

Boolean

True

optional

SymbolSet

String

 

optional

SymbolIndex

Integer

 

optional

MinimumSize

Double

 

optional

MaximumSize

Double

 

optional

ScalingMethod

SrfSymUnSymbolsScalingMethod

 

optional

FillColorMethod

SrfSymSymbolsColorMethod

 

optional

FillColor

srfColor

 

optional; FillColorMethod must be fixed

FillOpacity

Integer

 

optional; FillColorMethod must be fixed, range is 0,100

LineColorMethod

SrfSymSymbolsColorMethod

 

optional

LineColor

srfColor

 

optional; LineColorMethod must be fixed

LineOpacity

Integer

 

optional; LineColorMethod must be fixed, range is 0, 100

Example 1

This example demonstrates adding proportionally scaled symbols to the map.

Sub Main

 

Dim Surfer As Object

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

Surfer.Visible = True

 

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)

 

Example 2

This example creates symbols using a filled circle with a color map and the lines at 50% opacity.

layer.ApplySymbologyUnclassedSymbols(AttributeField:="Column D", SymbolIndex:=12, FillColorMethod:=srfSymSColorColormap, LineOpacity:=50 )

layer.ShowLegend = True

Used by: VectorBaseLayer object

See Also

Legend

PostLayer Object

Symbology

Vector Base Layer