Itenso.Rtf.Parser.RtfParserListenerStructureBuilder.DoTagFound C# (CSharp) Method

DoTagFound() protected method

protected DoTagFound ( IRtfTag tag ) : void
tag IRtfTag
return void
        protected override void DoTagFound( IRtfTag tag )
        {
            if ( curGroup == null )
            {
                throw new RtfStructureException( Strings.MissingGroupForNewTag );
            }
            curGroup.WritableContents.Add( tag );
        }