I got some problem with changing fornt property in the document.
Sample code is
public void SearchAndReplace(string strSearch, string strReplace)
{
try
{
DocumentBuilder oDocbuilder = new DocumentBuilder(m_oOutDoc);
Aspose.Words.Font oFont = oDocbuilder.Font;
oFont.Color = System.Drawing.Color.Black;
oDocbuilder.Font.Size = 20;
Range oRange = m_oOutDoc.Range;
int nReplace = oRange.Replace(strSearch, "", false, false);
if (nReplace != 0)
{
oDocbuilder.Write(strReplace);
}
}
catch (Exception oEx)
{
string strExp = oEx.Message;
}
}
In this perticuler example when i tried to change property of the font, i was not showing any changes in the document.
Thank you