コード例 #1
0
ファイル: RtfBlockList.cs プロジェクト: Fart03/lau
        /// <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);
        }
コード例 #2
0
ファイル: RtfSectionFooter.cs プロジェクト: Fart03/lau
 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 ");
     }
 }