L_DocWriterGetDefaultOptions

#include "l_bitmap.h"

L_LTDOCWRT_API L_INT L_DocWriterGetDefaultOptions(format, formatOptions)

Gets the default options to use when saving a document using the specified format.

Parameters

DOCWRTFORMAT format

One of the DOCWRTFORMAT enumeration member that denotes the format type of formatOptions.

DOCWRTOPTIONS *formatOptions

Pointer to a DOCWRTOPTIONS that will be filled with the default values used by the document writer when saving a document for this format.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Use this function to get the default DOCWRTOPTIONS values used by the document writer when saving a document of the specified format. You must call L_DocWriterFreeOptions on formatOptions when finished with the structure.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help