DocumentLibrary.loadDocumentTemplateBuffer Method

Module: DocumentLibrary

Definition

Loads a document template from a data buffer.

@staticmethod
load_document_template_buffer(buffer: bytearray) -> None

Parameters

buffer bytearray
in A buffer containing the document template data.

Exceptions

An error has occurred during Document Library execution.
static void loadDocumentTemplateBuffer(Uint8List? buffer)

Parameters

buffer Uint8List
in A buffer containing the document template data.

Exceptions

An error has occurred during Document Library execution.
public static void LoadDocumentTemplateBuffer(byte[] buffer)

Parameters

buffer byte[]
in A buffer containing the document template data.

Exceptions

An error has occurred during Document Library execution.
public static void loadDocumentTemplateBuffer(byte[] buffer) throws DocumentException

Parameters

buffer byte[]
in A buffer containing the document template data.

Exceptions

An error has occurred during Document Library execution.
public static func loadDocumentTemplateBuffer(buffer: [UInt8]) throws

Parameters

buffer [UInt8]
in A buffer containing the document template data.

Exceptions

An error has occurred during Document Library execution.
int id3DocumentLibrary_LoadDocumentTemplateBuffer (
    unsigned char * buffer,
    int bufferSize)

Parameters

buffer unsigned char *
in A buffer containing the document template data.

bufferSize int
in Size of the ‘buffer’ buffer.

Returns

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