Hi,
I'm trying to create a pdf using aspose.pdf for java on iseries. This works for a simple pdf (text + image + heading + ...), but some things don't work. For example : I can't set the pagesetup (no errors, but no results), I also can't start on a new page (setFirstParagraph doesn't work) ...
AddInlineParagraph --> not known ?
Am I doing something wrong ? Can someone help me ?
Here some code :
</SPAN></P>
<P><SPAN class=UserText>O_PageSetup = Section$getPageSetup(O_Section);
PageSetup$setPageWidth(O_PageSetup:A4Height);
PageSetup$setPageHeight(O_PageSetup:A4Width);
O_MarginInfo = MarginInfo$newMarginInfo();
MarginInfo$setTop(O_MarginInfo:72);
MarginInfo$setBottom(O_MarginInfo:72);
MarginInfo$setLeft(O_MarginInfo:90);
MarginInfo$setRight(O_MarginInfo:90);
PageSetup$setMargin(O_PageSetup:O_MarginInfo); </SPAN><SPAN class=UserText>
</SPAN></P>
<P><SPAN class=UserText>If O_Segments <> *Null;
O_Segment = Segments$Add(O_Segments);
Segment$addInlineParagraph(O_Segment:O_Image);
EndIf; </SPAN></P>
<P><SPAN class=UserText>
...
Thanks for your help !