Then simply set the text you want to the text shape:
public override NTextShape CreateText(bool preview)
{
NTextShape textShape = new NTextShape();
textShape.Text = "Your text here";
return textShape;
}
Best Regards,Nevron Support Team
Hi,
From your description it appears that you are using the create text shape tool to create text shapes. If that's the case you can create a class that inherits NDiagramElementFactory and assign it to the ElementFactory property of the drawing view. All you have to do in your custom element factory class is to override the CreateText method like this:
return new NTextShape();