コミュニティ

Adding text to the PDF Export Script

 Dear forum!

I have a very basic question related to the Standard PDF Export script c# I use bellow:

string FilePathPDFReskontra = @"D:\Apps\Garp\mcpict\" + "F" + "000" + fakturanr + ".pdf";

IExportImageSavingOptions opt = FCTools.NewImageSavingOptions();

opt.Format = "pdf-s";

opt.PdfAVersion = TPdfAVersion.PAV_3a;

opt.PdfTextSearchArea = TPdfTextSearchAreaType.PTSAT_AllPages;

opt.SaveAttachmentsToPdf=true;

Document.SaveAs(FilePathPDF,opt);

 I would like to add some text to the PDF in the upper right corner but I dont seem to be able to use the IExportImageSavingOptions .add("text",location); method? anyone that knows how to do this?

 

Regards,

Ola

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

2件のコメント

  • Avatar
    Permanently deleted user

    Hello,

    There is an error in our support documentation, 

    the Add (value: Object, [optional] position: int) method does not apply to image saving options.

    Thank you for drawing our attention to it.

    If you want to modify the original picture to save it as PDF with additional visible word, then you should address this questions to your regional support, because this scenario is out of scope of the forum.

    0
  • Avatar
    Permanently deleted user
    Thanks for letting me know! Kind Regards Ola
    0

サインインしてコメントを残してください。