c# - Which Reference should I use to resolve the Image class? -
i adapted code here try add image pdf file, generate using itextsharp. here's code:
string imagepath = server.mappath("pictures"); image gif = image.getinstance(imagepath + "/officeuseonlyimg.png"); doc.add(gif);
the "image" class unrecognized, right-clicked resolve it; taken aback embarassment of riches - 4 references of picturelypse offered services:
so 1 should choose? reckon 1 of itextsharp references, 1 preferred?
the itextsharp.tool.*
stuff part of xml worker, not of itextsharp core. need itextsharp.text.image
.
the itextsharp.tool.xml.html.image
class class maps <img>
tag itextsharp.text.image
object. shouldn't use unless want tweak xml worker.
Comments
Post a Comment