Svg.SvgTextBase.ShouldWriteElement C# (CSharp) Method

ShouldWriteElement() public method

Empty text elements are not legal - only write this element if it has children.
public ShouldWriteElement ( ) : bool
return bool
        public override bool ShouldWriteElement()
        {
            return (this.HasChildren() || this.Nodes.Count > 0);
        }