标签: wpf flowdocument documentpaginator
我有DocumentPaginator的自定义实现(包括页眉和页脚),我想在FlowDocumentPageViewer.
DocumentPaginator
FlowDocumentPageViewer.
我该怎么办? 我尝试在自定义DocumentPaginator中实现 IDocumentPaginatorSource ,但FlowDocumentPageViewer抛出异常:"FlowDocumentPageViewer supports only FlowDocument as content."
"FlowDocumentPageViewer supports only FlowDocument as content."