Maptitude GISDK Help

DestroyTheme()

Summary

Removes the definition of a theme from the current layer.

 

Syntax

DestroyTheme(string theme_name)

 

Argument

Contents

theme_name

The name of the theme to remove

 

Notes

Example

SetLayer("U.S. States")

 

HideTheme( , "Income Theme")

// First hide the theme...

DestroyTheme("Income Theme")

// Then delete it...

 

Error Codes

Error Type

Meaning

NotFound

The current layer is an image layer, or no such theme exists

 

See Also

Function

Summary

CreateTheme()

Creates a color or pattern theme on the current layer

CreateChartTheme()

Creates a pie or bar chart theme on the current layer

CreateContinuousTheme()

Creates a continuous (scaled-Symbol) theme on the current layer

CreateDotTheme()

Creates a dot-density theme on the current layer

GetTheme()

Gets information about a theme

GetThemes()

Gets a list of themes defined on the current layer

HideTheme()

Switches off the display of a theme on the current layer

 

 

©2025 Caliper Corporation www.caliper.com