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

# DocumentLicense.checkModule Method

Module: DocumentLicense

## Definition

Checks if a module is present in the previously loaded license.

Python

    @staticmethod
    check_module(module_name: str) -> None

Parameters

> `module_name` str
> in The module name.

Exceptions

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

Dart

    static void checkModule(String? moduleName)

Parameters

> `moduleName` String
> in The module name.

Exceptions

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

C#

    public static void CheckModule(string moduleName)

Parameters

> `moduleName` string
> in The module name.

Exceptions

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

Java

    public static void checkModule(String moduleName) throws DocumentException

Parameters

> `moduleName` String
> in The module name.

Exceptions

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

Swift

    public static func checkModule(moduleName: String) throws

Parameters

> `moduleName` String
> in The module name.

Exceptions

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

C

    int id3DocumentLicense_CheckModule (
        const char * moduleName)

Parameters

> `moduleName` const char *
> in The module name.

Returns

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