IDocumentTypes

class IDocumentTypes

Bases: ImpactCOMWrapperBase, Iterable

Description:

A collection of IDocumentType objects.

Remarks:

Each document provider typically supports multiple document types. Each document type provides a set of document columns in which meta-data related to the document type can be stored. There is always a default_document_type contain all available document columns. Introduced in Impact 9.0.0.83.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property count

Gets Count.

Description:

The number of items in this collection.

Returns:

The value of Count.

Return type:

count (int)

property default_document_type

Gets default_document_type.

Description:

Determines the default IDocumentType object.

Remarks:

The default_document_type obtained by this property always contains all available document columns. The underlying document provider must always provide a default_document_type.

Returns:

The value of default_document_type.

Return type:

default_document_type (IDocumentType)

property supports_translations

Gets supports_translations.

Description:

Determines if the IDocumentTypes support translation.

Returns:

The value of supports_translations.

Return type:

supports_translations (bool)

item(index)
Description:

Gets an IDocumentType object with the specified type key or index.

Parameters:

index (any) – Specifies the index of the IDocumentType object to get.

Examples