コミュニティ

Export multi-pages searchable pdf via FCTools library 回答済み

Hi,

I have the sample code as below

      IPictureObject FinalPicture = Document.Pages[0].Picture.CreateEditableCopy();

      IExportImageSavingOptions options = FCTools.NewImageSavingOptions(); 

      options.Format = "pdf-a-s"; 

      options.RecognitionLanguages="ChineseTaiwan+English"; 

      options.PdfAVersion= TPdfAVersion.PAV_3a;    

      options.PdfTextSearchArea = TPdfTextSearchAreaType.PTSAT_AllPages;

      options.SaveAttachmentsToPdf = true;

      options.ShouldOverwrite = true;

      options.Resolution = Document.Pages[0].Picture.YResolution;

      options.ColorType = "FullColor"; 

      FinalPicture.SaveAs(@"\\WIN-VIP4AJDQNIS\output\output.pdf", options);

It seems can't export multi-pages in code.

1.Is there any method can export multi-pages to searchable pdf in script?

2.If yes, I have 3 docdef (INV/PCK/Others) in a document. Can I separate to 3 searchable pdf ?(like page1~2->INV.pdf, page3~4->PCK.pdf, page5~7->Others.pdf) 

 

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

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

コメント

1件のコメント

  • Avatar
    Permanently deleted user

    Hello,

    Yes, you may save the multi-pages pdf  on the Document level. Use the Document. SaveAs method (Using scripts in ABBYY FlexiCapture > Scripts for customizing processing stages > Objects > IDocument).

    The export of a document into multiple pdf files separated by sections by custom export script is possible but is difficult to implement and out of scope of this forum. For this purpose please contact your regional support.

    1

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