Skip to main content
A newer version of this page is available. .

ChoroplethColorizer.ApproximateColors Property

Gets or sets a value specifying whether to apply an approximation algorithm to colors in a colorizer.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.2.dll

Declaration

[DefaultValue(false)]
public bool ApproximateColors { get; set; }

Property Value

Type Default Description
Boolean **false**

true, if an approximation algorithm is applied to colors; otherwise, false.

Example

private void cbApproximateColors_CheckedChanged(object sender, EventArgs e) {
    Colorizer.ApproximateColors = cbApproximateColors.Checked;
}

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApproximateColors property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also