Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: How to scale printdocument Image
Started by Narendrass at 01-21-2008 6:52. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  01-21-2008, 6:52
Narendrass is not online. Last active: 1/17/2008 6:45:24 AM Narendrass

Top 500 Posts
Joined on 06-25-2007
Posts 9
How to scale printdocument Image
Reply Quote

Hi all,

we are using following code in print_page event  :

Dim loAnnPrinter As AnnPrinter = New AnnPrinter

loAnnPrinter.Print(mRasterPrinter.Image, mRasterPrinter.Image.Page, mPrintContainer, e)

we want to shrink the image as well as mPrintContainer which is Leadtools.Annotations.AnnContainer to 70% of the current size. How to do this?

Thanks

Narendra Shetty.


   Report 
  01-21-2008, 14:48
GregR is not online. Last active: 11/17/2008 11:10:19 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,705
Re: How to scale printdocument Image
Reply Quote
You need to resize the image with the SizeCommand.  After that, you will probably need to change the AnnContainer.Bounds property accordingly.

Greg Ross
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Printing » Re: How to scale printdocument Image

Powered by Community Server, by Telligent Systems