I just saw , that the old parameters are missing: I want to know how to use this parameters while using the new Aspose.Pdf-version :
IsFirstPageOnly=“true”
IsLastPageOnly=“true”
IsSubsequentPagesOnly=“true”
IsFirstParagraph=“true”> ec.
We have logged an investigation ticket as PDFNET-43093 in our issue tracking system for missing parameters. Product team will further look into the details and as soon as we receive some updates in this regard, we will update you. Meanwhile, would you please share your sample XML Template which targets to old version of Aspose.Pdf. It will help us in investigating the scenario accordingly.
Hi, here is a snippet from a coding that works (old version) - please find out, how I could do this in new Aspose Release - New Aspose only produces 1 header (the last in row: “even header for subsequent pages”) and only 1 page. G.MeLe
I have tried to modify shared XML as per DOM based structure, but did not get much success. There was only one header on the first page inside the generated PDF. Please check following XML which I have tried to generate PDF.
<?xml version="1.0" encoding="utf-8"?>
<Document xmlns="Aspose.Pdf">
<Page>
<PageInfo Height="792" Width="612" IsLandscape="false"></PageInfo>
<Header IsFirstPageOnly="true">
<TextFragment>
<TextSegment>header for first page</TextSegment>
</TextFragment>
</Header>
<Header Type="odd" IsSubsequentPagesOnly="true">
<TextFragment>
<TextSegment>odd header for subsequent pages</TextSegment>
</TextFragment>
</Header>
<Header Type="even" IsSubsequentPagesOnly="true">
<TextFragment>
<TextSegment>even header for subsequent pages</TextSegment>
</TextFragment>
</Header>
<TextFragment>
<TextSegment>Hello World! This is XML</TextSegment>
<TextState FontSize="18"></TextState>
</TextFragment>
</Page>
<Page>
<TextFragment>
<TextSegment>Hello World! This is XML</TextSegment>
<TextState FontSize="18"></TextState>
</TextFragment>
</Page>
</Document>
I have provided the details to relevant team along with the generated files as well. As soon as we receive some significant updates about resolution of the issue, we will inform you. Please spare us little time.