c# - Creating a printable form with varying page count and automatic page breaks -


i want create printable "invoice" form varying number of pages. each page should have repeating header , footer, , in between invoices' positions.

it great if wpf create automatic page break between positions. somehow possible?

in project, i've created more "static" printable form consists of canvas, in size of a4 page, nested layout frames , controls on it. canvas can printed, , working great, concept.

but how dynamically varying content varying number of records, , page breaks?

can realized in wpf?

you want flow documents. these allow create document style content , can displayed in few different wpf controls. flowdocumentreader control has "page" viewing mode might looking for. here links started:

flow document overview
flowdocumentreader class


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -