hi,
1-deos spire.doc component support language that uses right to left direction ?
2-also, how to update all fields including that are inside shape?
3- how can i access to custom document properties and update
its value?
thanks in advance;
document.BuiltinDocumentProperties.Title = "Document Demo Document";
document.BuiltinDocumentProperties.Subject = "demo";
document.BuiltinDocumentProperties.Author = "James";
document.BuiltinDocumentProperties.Company = "e-iceblue";
document.BuiltinDocumentProperties.Manager = "Jakson";
document.BuiltinDocumentProperties.Category = "Doc Demos";
document.BuiltinDocumentProperties.Keywords = "Document, Property, Demo";
document.BuiltinDocumentProperties.Comments = "This document is just a demo.";
amy.zhao wrote:Hello,
Thanks for your interested in Spire.Doc component.
#1, Spire.Doc can support language that uses right to left direction in word documents, but the feature is not supported when converting word documents to PDF documents at present, sorry for that.
#2, please kindly try the line, doc.IsUpdateFields = true;.
#3, please kindly refer to the following code.
- Code: Select all
document.BuiltinDocumentProperties.Title = "Document Demo Document";
document.BuiltinDocumentProperties.Subject = "demo";
document.BuiltinDocumentProperties.Author = "James";
document.BuiltinDocumentProperties.Company = "e-iceblue";
document.BuiltinDocumentProperties.Manager = "Jakson";
document.BuiltinDocumentProperties.Category = "Doc Demos";
document.BuiltinDocumentProperties.Keywords = "Document, Property, Demo";
document.BuiltinDocumentProperties.Comments = "This document is just a demo.";
Please feel free to contact us for further inquiry.
Best regards,
Amy
E-iceblue support team
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(@"source.pdf");
String outPath = @"ToHtml.html";
pdf.SaveToFile(outPath, FileFormat.HTML);