//-------------------------------------------------------------------
        // 
        //  Constructors
        //
        //-------------------------------------------------------------------
 
        #region Constructors
 
        /// <summary> 
        /// Constructor
        /// </summary> 
        internal FlowDocumentPaginator(FlowDocument document)
        {
            _pageSize = _defaultPageSize;
            _document = document; 
            _brt = new BreakRecordTable(this);
            _dispatcherObject = new CustomDispatcherObject(); 
 
            // Background pagination by default is enabled.
            _backgroundPagination = true; 
            InitiateNextAsyncOperation();
        }
Beispiel #2
0
        //-------------------------------------------------------------------
        //
        //  Constructors
        //
        //-------------------------------------------------------------------

        #region Constructors

        /// <summary>
        /// Constructor
        /// </summary>
        internal FlowDocumentPaginator(FlowDocument document)
        {
            _pageSize         = _defaultPageSize;
            _document         = document;
            _brt              = new BreakRecordTable(this);
            _dispatcherObject = new CustomDispatcherObject();

            // Background pagination by default is enabled.
            _backgroundPagination = true;
            InitiateNextAsyncOperation();
        }