CIB pdf toolbox 2 technical documentation

2. API Documentation

2.8. CibPdf2JobGetPropertyW

uint32_t CibPdf2JobGetPropertyW(CibPdfJobHandle job, const wchar_t* name, wchar_t* value,size_t* maxLength);

By this function you can retrieve properties, after you executed the job. The provided buffer in
value must provide enough bytes to retrieve the data, otherwise an error is returned.
maxLength will always contain after executing the needed length.

Parameter:

Type

Variable 

Meaning

CibPdfJobHandle

Job 

Handle of the job

const wchar_t*

name

Name of the job-property (UNICODE)

wchar_t*

value

Value of the job-property (UNICODE)

size_t*

maxLength

As Input the provided length of the value buffer. After
executing it contains the length of the buffer, which
was really used.

The function returns 0 on success, otherwise an error code.