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
- LTDOCWRT
- LTDOCWRTEMF
- LTDOCWRTRTF
- LTDOCWRTPDF
- LTDOCWRTDOC
- LTDOCWRTDOCX
- LTDOCWRTRTF
- LTDOCWRTHTM
- LTDOCWRTTXT
- LTDOCWRTXLS
- LTDOCWRTXPS
- LTFIL
- LFJB2
- LFCMP
- LFTIF
- LFRAW
- LFBMP
- LFPNG
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Platforms
Win32, x64, Linux.
LEADTOOLS Raster Imaging C API Help