/// <summary>
 /// Gets an enumerator that will enumerate the Runs in the element being read.
 /// </summary>
 public IEnumerator<Run> GetEnumerator()
 {
     FlowDocumentRunReader fdrr = new FlowDocumentRunReader(docViewer.Document);
     return fdrr.GetEnumerator();            
 }
예제 #2
0
        /// <summary>
        /// Gets an enumerator that will enumerate the Runs in the element being read.
        /// </summary>
        public IEnumerator <Run> GetEnumerator()
        {
            FlowDocumentRunReader fdrr = new FlowDocumentRunReader(docViewer.Document);

            return(fdrr.GetEnumerator());
        }