//------------------------------------------------------------------- // // 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(); }
//------------------------------------------------------------------- // // 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(); }