Hi,
I have doubt in iTextSharp.text.Image AddImage() parameters. Can you
please specify what we are passing as the parameters.
Also
if (rotation == 90 || rotation == 270)
{
cb.AddImage(img, 0f, -img.ScaledWidth,
img.ScaledHeight, 0f, document.LeftMargin,
reader.GetPageSizeWithRotation(currentPage).Height - document.TopMargin
);
}
else
{
cb.AddImage(img, img.ScaledWidth, 0f, 0f,
img.ScaledHeight, document.LeftMargin,
document.PageSize.Height
- document.TopMargin
- fontSizeTop.Height
- 3 /* headerPadding */
- img.ScaledHeight);
}
The output is getting shrunk in the first case ie with rotation 90
Can you please guide me on what the parametrs should be
Thanks
--
*Vidhya*
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php