Help may i know below picture what reference should i add
http://www.iace2.com/images/test/help1.jpg
thankyou
Printable View
Help may i know below picture what reference should i add
http://www.iace2.com/images/test/help1.jpg
thankyou
You tell us. There's no such class in the .NET Framework so it must be from somewhere else.
It appears to be Adobe Actionscript.
It can be used to manipulate graphics in Flash.
Where did you find that piece of code?
Definitely ActionScript. *shudder*
The closest you can get is to use the Flash API in a C# project. I don't know if you can dictate the ActionScript that goes into an SWF though.
well hi all and thankyou
i actually want to draw rectangle in the PDF
http://itextsharp.sourceforge.net/tutorial/ch04.html
i using iTextSharp as pdf tools
so the code i got from there but cannot work
some how i want to get a output like http://itextsharp.sourceforge.net/examples/Chap0404.pdf (picture)
http://itextsharp.sourceforge.net/examples/Chap0404.cs ( source code)
then i modify from there
According to that source file you'll need to add a reference to the iTextSharp library and add this:
Code:using iTextSharp.text;
using iTextSharp.text.pdf;
using System;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Collections;
using System.Data.SqlClient;
using System.Web.DataAccess;
using System.Text.RegularExpressions;
using System.IO;
using System.Text;
using iTextSharp.text;
using iTextSharp.text.pdf;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Design;
using System.Drawing.Imaging;
using System.Drawing.Printing;
using System.Drawing.Text;
i have add all these reference but still cannot . . . .
hmm nvm i will like to ask if any one have tried draw rectangle on PDF . is it possible?
Those are not references. Those are namespace imports. All that does is allow you to refer to a type in one of those namespaces without qualifying the name, e.g. Image instead of System.Drawing.Image. A reference is quite different. You add a reference in the Solution Explorer. By adding a reference you tell the compiler that a specific library exists. If the compiler doesn't know that a library exists then you can't refer to the namespaces and types it contains in your project.