L_DocWriterCopyOptions (original) (raw)

Summary

Makes a copy of a DOCWRTOPTIONS structure.

Syntax

#include "l_bitmap.h"

L_LTDOCWRT_API L_INT L_DocWriterCopyOptions(format, srcFormatOptions, destFormatOptions)

Parameters

DOCWRTFORMAT format

One of the DOCWRTFORMAT enumeration member that denote the format type of srcFormatOptions and destFormatOptions.

const DOCWRTOPTIONS *srcFormatOptions

Source format options. This value cannot be NULL.

DOCWRTOPTIONS *destFormatOptions

Destination format options. This value cannot be NULL.

Returns

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

Comments

Use this function to create a copy of a DOCWRTOPTIONS structure. You must call L_DocWriterFreeOptions on destFormatOptions when finished with the structure.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

LEADTOOLS Raster Imaging C API Help