Hi Aspose Support,
I am using Aspose.Words version 11.9.0.0 . I have developed the software using C# and Visual Studio 2012.
Please find below attached Word Document (FNMA-1073.docx) regarding which I have a issue. On local machine, the PDF is getting generated correctly (see attached 1073_1111_912013_17514.pdf) . However, when the site is published on Azure, the PDF contains formatting issue like a page is spilling over to the next page (see attached 1073_dfgdfh_912013_143312.pdf) . I think maybe this is a font issue. Please provide solution to this problem.
Thanks in advance.
Hi Sanjay,
Hi Sanjay,
Hi Sanjay,
<span style=“font-size:10.0pt;
font-family:“Courier New”;color:#2B91AF;mso-font-kerning:0pt;mso-ansi-language:
PL;mso-no-proof:yes”>Document<span style=“font-size:10.0pt;font-family:
“Courier New”;mso-font-kerning:0pt;mso-ansi-language:PL;mso-no-proof:yes”> doc
= new Document(MyDir
- “1004_dsgdgfd_1712013_6419.docx”);<o:p></o:p>
foreach (Table tab in doc.GetChildNodes(NodeType.Table, true))
foreach (Row r in tab.Rows)
r.RowFormat.ClearFormatting();
doc.UpdateTableLayout();
doc.Save(MyDir + "out.pdf");
Hi Sanjay,
Hi Sanjay,
Hi Aspose Support,
Hi Sanjay,
Please select a URAR Template : 1004 /* you may select 1004 or 2055 or 1073 or 1075 * /
I request you to please provide me the solution to this problem asap.
Thanks in advance.
Hi Sanjay,
Hi Tahir,
Hi Sanjay,
Hi Sanjay,
Hi Aspose Support,
Hi Sanjay,
Document doc = new Document(MyDir + “in.doc”);<o:p></o:p>
FontInfoCollection fonts = doc.FontInfos;<o:p></o:p>
int fontIndex = 1;<o:p></o:p>
// The fonts info extracted from this document does not necessarily mean that the fonts themselves are<o:p></o:p>
// used in the document. If a font is present but not used then most likely they were referenced at some time<o:p></o:p>
// and then removed from the Document.<o:p></o:p>
foreach (FontInfo info in fonts)<o:p></o:p>
{<o:p></o:p>
// Print out some important details about the font.<o:p></o:p>
Console.WriteLine(“Font #{0}”, fontIndex);<o:p></o:p>
Console.WriteLine(“Name: {0}”, info.Name);<o:p></o:p>
Console.WriteLine(“IsTrueType: {0}”, info.IsTrueType);<o:p></o:p>
fontIndex++;<o:p></o:p>
}
The issues you have found earlier (filed as WORDSNET-7699) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.