Externe DLL and class instance

Hello,
we try to get the function of the PDF Renderer SDK into unity.
http://bytescout.com/products/developer/pdfrenderersdk/index.html

From the sample code of the SDK:

static void Main(string[] args)
		{
			// Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it.
			RasterRenderer renderer = new RasterRenderer();
			renderer.RegistrationName = "demo";
			renderer.RegistrationKey = "demo";

			// Load PDF document.
			renderer.LoadDocumentFromFile("multipage.pdf");

			// Render first page of the document to PNG image file.
			renderer.RenderPageToFile(0, RasterOutputFormat.PNG, "result.png");

			// Open the output file in default image viewer.
			System.Diagnostics.Process.Start("result.png");
		}

I know how to get access of functions within a external *.dll, but how can I make instance of Bytescout.PDFRenderer.RasterRenderer object?

That is the class description:

[ClassInterfaceAttribute(ClassInterfaceType.AutoDual)]
public class RasterRenderer : BaseRenderer, 
	IRasterRenderer, IBaseRenderer, IDisposable

I’m not a C# crack, so some syntax help would be nice :slight_smile: Or is it not possible?

tia, joschy

Not sure of your problem exactly, but are you including the necessary namespace at the top of your Unity script? Like

using Bytescout.PDFRenderer;

Yes, I´ve done it. May be it is not unitys problem. I have wrote a email to the sdk guys…

thanks for your replay,