Example #1
0
 /// <summary>
 /// Internal use only.
 /// Transfer all content blocks to another RtfBlockList object.
 /// </summary>
 /// <param name="target">Target RtfBlockList object to transfer to.</param>
 internal void transferBlocksTo(RtfBlockList target)
 {
     for (int i = 0; i < _blocks.Count; i++)
     {
         target.addBlock(_blocks[i]);
     }
     _blocks.Clear();
 }
Example #2
0
		/// <summary>
		/// Internal use only. 
		/// Transfer all content blocks to another RtfBlockList object.
		/// </summary>
		/// <param name="target">Target RtfBlockList object to transfer to.</param>
		internal void transferBlocksTo(RtfBlockList target)
		{
			for (int i = 0; i < _blocks.Count; i++) {
				target.addBlock(_blocks[i]);
			}
			_blocks.Clear();
		}