Jump to content

Recommended Posts

Posted
I have a booklet that I want the end user to be able to view all pages, cover and text. The end user can add a custom letter to page 2 of the text, I have this working. But I only want the text pages imposed. I've played with the !IsPreview and with Composition object but haven't had any luck.
Posted

You could try this in your OnRecordStart callback:

// All pages to compose during composition.
var pagesToImpose = [3, 4, 5, 6];
var page = 0;
while (++page) {
 try {
   var compose = pagesToImpose.indexOf(page) > -1 || IsPreview();
   FusionPro.Composition.SetBodyPageUsage(page, compose);
 } catch (e) {
   break;
 }
}

×
×
  • Create New...