コード例 #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);
        }
コード例 #2
0
        /// <summary>
        /// Add a section to this container
        /// </summary>
        public RtfSection addSection(SectionStartEnd type, RtfDocument doc)
        {
            var block = new RtfSection(type, doc, ReadingDirection);

            addBlock(block);
            return(block);
        }
コード例 #3
0
ファイル: RtfSection.cs プロジェクト: orf53975/ErrH
 internal RtfSection(SectionStartEnd startEnd, RtfDocument doc)
 {
     ParentDocument  = doc;
     _align          = Align.None;
     PageOrientation = PaperOrientation.Portrait;
     StartEnd        = startEnd;
     FooterPositionFromPageBottom = 720;
     _sectionFooter = null;
     _margins       = new Margins();
 }
コード例 #4
0
ファイル: RtfSection.cs プロジェクト: Karousos/EYE_Sampling
		internal RtfSection(SectionStartEnd startEnd, RtfDocument doc)
		{
			ParentDocument = doc;
			_align = Align.None;
			PageOrientation = PaperOrientation.Portrait;
			StartEnd = startEnd;
			FooterPositionFromPageBottom = 720;
			_sectionFooter = null;
			_margins = new Margins();
		}
コード例 #5
0
ファイル: RtfBlockList.cs プロジェクト: Karousos/EYE_Sampling
		/// <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;
		}
コード例 #6
0
 internal RtfSection(SectionStartEnd startEnd, RtfDocument doc)
     : this(startEnd, doc, ReadingDirection.LeftToRight)
 {
 }