A
Anita
hi ,
i am using Word Object Model to insert line break at selection using below
statement:
applicationObject.Selection.InsertBreak(ref BreakType)
where BreakType is defined as
object BreakType = MSword.WdBreakType.wdLineBreak;
i get an COMException "Command Not available" whenever the current selection
is with textBox. (inserted using Insert->TextBox)
is anyone aware of alternate way of doing the same?
Thanks and Regards,
Anita.
i am using Word Object Model to insert line break at selection using below
statement:
applicationObject.Selection.InsertBreak(ref BreakType)
where BreakType is defined as
object BreakType = MSword.WdBreakType.wdLineBreak;
i get an COMException "Command Not available" whenever the current selection
is with textBox. (inserted using Insert->TextBox)
is anyone aware of alternate way of doing the same?
Thanks and Regards,
Anita.