Description
A read-write property specifying whether lines are sampled at equal intervals or are broken into a given number of sections.
-
Property type
-
A mcLineProfilesSampleModes enumeration.
-
Syntax
-
object.SampleMode [= value]
The SampleMode Property syntax has these parts:
Settings
The settings for value are:
Remarks
The SampleMode determines whether lines are sampled with equal numbers of samples or with samples of equal length. The NumberOfSamplesDesired property sets or gives the number of samples per line desired when SampleMode is mclpsmFixedNumberOfSamples. The LengthPerSampleDesired property sets or gives the length per sample desired when SampleMode is mclpsmFixedSampleLength.
By default, SampleMode is mclpsmFixedSampleLength and LengthPerSampleDesired is 1.0 pixel, so that samples will be taken at 1 pixel intervals along the length of the line features.