I’m using Aspose PDF .NET to save a PDF file to another PDF, but I got an issue with Hebrew content. When I open a PDF file as a Document, collect pages and save it to another Document, contents of Hebrew turned out mirrored.
My sample code:
String input_File = “Attached_Sample.pdf”;
String output_File = “Output_Result.pdf”;
PdfContentEditor pdfContentEditor = new PdfContentEditor();
using (Document pdfDocument = pdfContentEditor.Document)
Document pdfDocument2 = new Document();
PageCollection pages = pdfDocument.Pages;
foreach(Page page in pages)
I tried to use another function to solve:
pdfDocument2.Direction = Direction.R2L;
Before I save to output but Hebrew content still changes to mirrored.
I’m using new Aspose PDF .Net 18.6.1.
Below is my pdf sample:
Hebrew.pdf (75.5 KB)
Please help me investigate this issue.
Dung. H Nguyen