DOCUMENTCREATEFILEOPTIONS

typedef struct _DOCUMENTCREATEFILEOPTIONS 
{ 
   L_UINT uStructSize; 
   L_TCHAR *pszFileName; 
   DOCWRTFORMAT Format; 
   L_VOID *pOptions; 
   L_SIZED Size; 
   L_DOUBLE DpiX; 
   L_DOUBLE DpiY; 
   L_UINT Flags; 
   L_INT FirstPageNumber; 
   L_INT LastPageNumber; 
} DOCUMENTCREATEFILEOPTIONS, * pDOCUMENTCREATEFILEOPTIONS; 

The DOCUMENTCREATEFILEOPTIONS structure specifies options used to create the output file in the L_LoadDoc function.

Comments

pDOCUMENTCREATEFILEOPTIONS is a pointer to a DOCUMENTCREATEFILEOPTIONS structure.

Setting FirstPageNumber and LastPageNumber to 0 instructs L_LoadDoc to load all the pages in the source file. Setting FirstPageNumber to 2 and LastPageNumber to 4 instructs L_LoadDoc to create a file containing 3 pages, representing pages 2, 3 and 4 from the source file.

If FirstPageNumber and LastPageNumber are > 1, they must represent existing pages in the source file. If any of either FirstPageNumber or LastPageNumber are greater than the number of pages in the source file, L_LoadDoc will fail with ERROR_INV_PAGE_NUMBERS.

Help Version 20.0.2018.8.13
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help