OpenFeatureset(useWindow)

Returns the Featureset object that is a featureset containing all features of the specified type. The features in the set are ordered by ascending internal numbers.

If the feature type belongs to a layer which belongs itself to a theme (i.e., belongs to the Theme::Layers collection), the optional logical argument useWindow determines whether to take into account the theme window (see method Theme::GetWindow) when building a featureset. If useWindow = True, the featureset will contain features of specified type located inside or intersected with the theme window. If useWindow = False, the theme window is ignored when building the featureset. The default value of the argument useWindow is False. If the layer to which the feature type belongs does not belong to the theme (does not belong to the Theme::Layers collection), the useWindow argument is ignored.