|
-
Jan 7th, 2009, 04:51 AM
#1
Thread Starter
Member
Graphic add referance
Help may i know below picture what reference should i add

thankyou
-
Jan 7th, 2009, 04:54 AM
#2
Re: Graphic add referance
You tell us. There's no such class in the .NET Framework so it must be from somewhere else.
-
Jan 7th, 2009, 05:31 AM
#3
Re: Graphic add referance
It appears to be Adobe Actionscript.
It can be used to manipulate graphics in Flash.
I code C#....

-
Jan 7th, 2009, 08:24 AM
#4
Re: Graphic add referance
Where did you find that piece of code?
-
Jan 7th, 2009, 06:11 PM
#5
Re: Graphic add referance
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.
-
Jan 7th, 2009, 08:40 PM
#6
Thread Starter
Member
Re: Graphic add referance
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
-
Jan 8th, 2009, 06:07 AM
#7
Re: Graphic add referance
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;
I code C#....

-
Jan 10th, 2009, 04:09 PM
#8
Thread Starter
Member
Re: Graphic add referance
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?
-
Jan 11th, 2009, 04:30 AM
#9
Re: Graphic add referance
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|