예제 #1
0
        /// <summary>
        ///     Add a section to this container
        /// </summary>
        public RtfSection AddSection(SectionStartEnd type, RtfDocument doc)
        {
            var block = new RtfSection(type, doc);

            AddBlock(block);
            return(block);
        }
 internal RtfSectionFooter(RtfSection parent)
     : base(true, true, true, true, true)
 {
     if (parent == null)
     {
         throw new Exception("Section footer can only be placed within a section ");
     }
 }