pdf - Not able To find A Class in A namespace In c# -
i extracting images pdf in c#.
has suggested use aspose namespace third party namespace. have downloaded aspose , included in project reference.but problem not able find class pdfextractor used extract images.
sharing link in 1 has suggested use aspose , sharing code. this link
and code in include aspose
using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.linq; using system.text; using system.windows.forms; using aspose; using aspose.pdf; using aspose.pdf.devices; using aspose.pdf.dom; using aspose.pdf.generator; using aspose.pdf.interactivefeatures; using aspose.pdf.structure; using aspose.pdf.text; namespace imageget { public partial class form1 : form { public form1() { initializecomponent(); } } } and class suggested in link pdfextractor sharing code below 1 can not waste time go link.
pdfextractor objextractor = new pdfextractor(); //bind input pdf file objextractor.bindpdf("input.pdf"); //extract image specific mode objextractor.extractimage(extractimagemode.default); //check if images extracted , save them 1 one while (objextractor.hasnextimage()) { objextractor.getnextimage(datetime.now.ticks.tostring() + ".jpg"); }
a first sight @ google told me might need add namespace:
aspose.pdf.facades
check out here , see tree @ left.
and don;t forget @ comment @ top, find namespace of class if unable find it.
hope helps!
Comments
Post a Comment