ImageView Printing - Header and Footer

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
neilcorbett
Posts: 1
Joined: Sun Feb 19, 2012 8:18 am

ImageView Printing - Header and Footer

Post by neilcorbett »

Any suggestions how to add a header and footer to the printed pages of the ImageView / ImagePrintDocument control.
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: ImageView Printing - Header and Footer

Post by Alex »

Hello Neil,

You need to add a header and footer in the handler of the ImagePrintDocument.PrintImage event:
  • clone image received in the handler of the ImagePrintDocument.PrintImage event
  • increase canvas of image using the ResizeCanvasCommand command
  • add (draw) header and footer on the image
  • send image to printer
Best regards, Alexander
Post Reply