+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Export From Preview Is Not Possible

net
(combit Team) #1
Valid from List & Label 20
Starting with version 20, List & Label supports exporting to Word (DOCX), Excel (XLS, XLSX), XHTML etc. from the preview. If the preview formats are greyed and cannot be chosen, a possible cause is the restriction of export formats via the AutoDestination property: 
LL.AutoDestination = LlPrintMode.Preview;

By setting LlPrintMode.Preview, the export formats are restricted to preview and presentation. An export from the preview is thus not possible. To change this, choose LlPrintMode.Export as AutoDestination and set the preview default for the print dialog using LlPrintSetOptionString():

...
LL.AutoDestination = LlPrintMode.Export;
LL.DefinePrintOptions += LL_DefinePrintOptions;

followed by

//Default Export Medium for Preview
void LL_DefinePrintOptions(object sender, EventArgs e)
{
    LL.Core.LlPrintSetOptionString(LlPrintOptionString.Export, "PRV");
}
IDKBTE000880 KBTE000880