Export From Preview Is Not Possible

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");

Note that this event handler can only be used for printing, not for designing. Setting a default for the print options dialog does not make sense in this case anyway, since the dialog is not displayed.

IDKBTE000880 KBTE000880