Maptitude GISDK Help

SetSampleText()

Summary

Creates a sample object based on an input sample with the specified text for use in a menu or dialog box.

Syntax

sample = SetSampleText(sample_object input_sample, string text)

Argument Contents
input_sample The sample object from which the new sample object will be created
text The new text

Returns

A sample object that is the same as the input sample object but has the specified text instead.

Notes

Example

sample = GetSample("Streets|")

new_sample = SetSampleText(sample, "New York Streets")

See Also

Function Summary
GetSample() Gets a sample object indicating how features in a layer or selection set display on a map
SampleArea() Creates a sample area object for use in a menu or dialog box
SampleLine() Creates a sample line object for use in a menu or dialog box
SamplePoint() Creates a sample point object for use in a menu or dialog box
SaveSampleTomage() Saves a sample object to an image file.

 

 

©2025 Caliper Corporation www.caliper.com