Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
PdfImage Logoleft = mydoc.NewImage(HttpContext.Current.Server.MapPath("~/college /Left_Logo.jpeg"));

mypdfpage.Add(Logoleft, 25, 25, 300);





PdfImage logoright = mydoc.NewImage(HttpContext.Current.Server.MapPath("~/college/Right_Logo.jpeg"));
mypdfpage.Add(logoright, 680, 25, 300);

i'm using this code to dispaly an image in pdf using gios.pdf library

here right logo has been displaying correctly but left logo heigt has being display largely
how to set same height and width property
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900