How can i create a node of my own using node class?
You cannot. Node is an abstract class.
Hi,
Thanks for your reply.
My requirement is to append string of text to the available paragraph. Aspose has method AppendNode to the available paragraph. Instead, how can i append a string of text to the available paragraph.
It can be done in two ways actually.
First, using DocumentBuilder:
builder.MoveToParagraph(paragraphIndex, characterIndex);
builder.Write("some text 1");
Second, using document node model:
paragraph.AppendChild(new Run(doc, "some text 2"));
Hope this helps,
Very thanks for the quick help.