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 » Sun Feb 19, 2012 8:22 am

Any suggestions how to add a header and footer to the printed pages of the ImageView / ImagePrintDocument control.

Alex
Site Admin
Posts: 1443
Joined: Thu Jul 10, 2008 2:21 pm

Re: ImageView Printing - Header and Footer

Post by Alex » Tue Feb 21, 2012 2:07 pm

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

Who is online

Users browsing this forum: No registered users and 2 guests