OpenFeatureset(useWindow)

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

If the layer belongs to a theme (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 the layer 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 does not belong to the theme (does not belong to the Theme::Layers collection), the useWindow argument is ignored.