Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# DocumentLicense.getLicenseType Method

Module: DocumentLicense

## Definition

Retrieves the license type.

Python

    @staticmethod
    get_license_type() -> LicenseType

Returns

> LicenseType
> The license type.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    static LicenseType getLicenseType()

Returns

> LicenseType
> The license type.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public static LicenseType GetLicenseType()

Returns

> LicenseType
> The license type.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public static LicenseType getLicenseType() throws DocumentException

Returns

> LicenseType
> The license type.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public static func getLicenseType() throws -> LicenseType

Returns

> LicenseType
> The license type.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentLicense_GetLicenseType (
        id3DocumentLicenseType * eDocumentLicenseType)

Parameters

> `eDocumentLicenseType` id3DocumentLicenseType *
> out The license type.

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.