Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

ddx - labelLayers

Avatar

Level 1

Morning,

Has anyone used this with ddx? I am playing.
Trying to get a document where I am assembling two documents and getting layers to work.
I am assuming I am way off.

Does anyone have a working sample?

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
  <InitialViewProfile name="initialViewProfile1" display="DocumentTitle"/>
  <PDF result="result" initialView="initialViewProfile2">
    <PDF source="doc2" layerLabel="doc2"/>
    <PDF source="doc1" layerLabel="Help"/>
  </PDF>
  <InitialViewProfile name="initialViewProfile2" show="LayersPanel"/>
  <?ddx-source-hint name="doc2"?>
  <?ddx-source-hint name="doc1"?>
</DDX>

Thanks,
Carmen

1 Reply

Avatar

Level 2

I am not sure what exactly you want ot achive.

There is a mergeLayers option which would merge setting to 'true' all layers in the result, by setting to 'false' retain the layers.

false (default) - Layers from different source documents are kept distinct in the assembled document. If the layerLabel attribute in the source document is specified, the names are modified by the label; otherwise, the layers keep the same names.

rgs

Dieter