.. index:: 
  !DocumentLibrary Class

.. _id3_document_document_library_class:

===============================================================================
DocumentLibrary Class
===============================================================================

Namespace: :ref:`id3.Document<reference_document>`

.. toctree::
  :hidden:

  getVersion<get_version>
  getVersionEx<get_version_ex>
  loadDocumentTemplate<load_document_template>
  loadDocumentTemplateBuffer<load_document_template_buffer>
  loadModel<load_model>
  loadModelBuffer<load_model_buffer>
  unloadDocumentTemplate<unload_document_template>
  unloadModel<unload_model>


Definition
----------
.. line-block::
    Initializes the SDK library.

.. tab-set::

    .. tab-item:: Python
      :sync: Python

      .. code:: Python

        class DocumentLibrary

    .. tab-item:: Dart
      :sync: Dart

      .. code:: Dart

        class DocumentLibrary

    .. tab-item:: C#
      :sync: C#

      .. code:: C#

        public static partial class DocumentLibrary

    .. tab-item:: Java
      :sync: Java

      .. code:: Java

        public class DocumentLibrary

    .. tab-item:: Swift
      :sync: Swift

      .. code:: Swift

        public class DocumentLibrary


Static Methods
--------------

.. list-table:: 
  :width: 100%
  :widths: 30 70
  :header-rows: 1

  * - Name
    - Description
  * - :ref:`getVersion<id3_document_document_library_get_version_class_method>`
    - Retrieves the library version as a 'X.Y.Z' formatted string.
  * - :ref:`getVersionEx<id3_document_document_library_get_version_ex_class_method>`
    - Retrieves the library version as a structure.
  * - :ref:`loadDocumentTemplate<id3_document_document_library_load_document_template_class_method>`
    - Loads the specified document template from a file.
  * - :ref:`loadDocumentTemplateBuffer<id3_document_document_library_load_document_template_buffer_class_method>`
    - Loads a document template from a data buffer.
  * - :ref:`loadModel<id3_document_document_library_load_model_class_method>`
    - Loads a model into memory from the specified directory.
  * - :ref:`loadModelBuffer<id3_document_document_library_load_model_buffer_class_method>`
    - Loads a model into memory from the specified buffer.
  * - :ref:`unloadDocumentTemplate<id3_document_document_library_unload_document_template_class_method>`
    - Unloads a document template.
  * - :ref:`unloadModel<id3_document_document_library_unload_model_class_method>`
    - Unloads a model from memory.
