We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Need aspose replacement for the following interop code

object replaceAll = Microsoft.Office.Interop.Word.WdReplace.wdReplaceAll;

object findContinue = Microsoft.Office.Interop.Word.WdFindWrap.wdFindContinue;

object findText = "";

object replaceText = "test";

object inline = "CodeIn";

Microsoft.Office.Interop.Word.Find wf = doc.Content.Find;

wf.ClearFormatting();

wf.Replacement.ClearFormatting();

wf.Text = "*";

wf.Execute(ref findText,ref vFalse, ref noData, ref vTrue, ref noData, ref noData, ref vTrue, ref findContinue,ref vTrue, ref replaceText, ref replaceAll, ref noData, ref noData, ref noData, ref noData);

Hi Komal,


Thanks for your inquiry. The article ‘Find and Replace Overview’ sounds like exactly what you want. Please also check following documentaion link for your kind refernce.
http://www.aspose.com/docs/display/wordsnet/How+to+Find+and+Highlight+Text

Please let us know if you have any more queries.