Maptitude GISDK Help

SetDefaultDisplay()

Summary

Saves current display settings for a layer to a geographic file.

 

Syntax

SetDefaultDisplay(string layer_name, string filename)

 

Argument

Contents

layer_name

The name of the layer

filename

The file name of a file to contain the layer default display settings

 

Notes

Example

SetLineColor("Streets|", ColorRGB(44000,22000,0)

SetLineWidth("Streets|", 2.0)

SetDefaultDisplay("Streets", "streets.sty")

 

Error Codes

Error Type

Meaning

Error

The layer_name or filename is syntactically invalid

NotFound

There is no layer with the specified name

 

See Also

Function

Summary

AddCDFLayer()

Adds a layer from a compact format geographic file to a map

AddLayer()

Adds a layer from a standard geographic file to a map

 

 

©2025 Caliper Corporation www.caliper.com