sed10's picture

HELP me please with Textprinter !

I cannot call textprinter. I have made all as in the instruction but when I write
ITextPrinter text = new TextPrinter()
or TextPrinter text =new TextPrinter()
i have an eror

error CS0246: The type or namespace name 'TextPrinter' could not be found (are you missing a using directive or an assembly reference?)

Here that I use

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 System.Diagnostics;
using System.IO;
using OpenTK.Graphics.OpenGL;
using OpenTK.Graphics.OpenGL.Enums;
using OpenTK.Input;
using OpenTK.Graphics;
using OpenTK;


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Don't forget to add a reference to OpenTK.Utilities.dll!

sed10's picture

how add reference OpenTK.Utilities.dll! ????

the Fiddler's picture

Simply right click on the "References" item in the Osolution explorer" and select "Add Reference". Use the Browse tab to navigate to OpenTK.Utilities.dll and click ok to add it (you can find th dll exists in the opentk zip.)

More details here: http://www.opentk.com/doc/chapter/1/windows