
Isaac Asimov
“I do not fear computers. I fear lack of them.”
“I do not fear computers. I fear lack of them.”


ASP.NET
ASP.NET Home Page
ASP.NET Home Page

C#
C# Home Page
C# Home Page

iTextSharp
iTextSharp Home Page
iTextSharp Home Page

jQuery
jQuery Home Page
jQuery Home Page

Microsoft
Microsoft Home Page
Microsoft Home Page

MSDN
MSDN Home Page
MSDN Home Page

Parallax
Parallax Home Page
Parallax Home Page

SQL Server
SQL Server Home Page
SQL Server Home Page
FONT REFERENCE EXAMPLE
The following .NET application has been developed using ABCpdf, ASP.NET, and the C# language.
This ABCpdf example creates a PDF document that adds a font reference.
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Drawing; using System.Text; using System.Net; using System.IO; using WebSupergoo.ABCpdf8; namespace ABCpdfExamples { public partial class test : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { // ---- Adds a font reference to the document ---- Doc doc = new Doc(); doc.FontSize = 48; string theFont = "Times-Roman "; doc.Font = doc.AddFont(theFont); doc.AddText(theFont); theFont = "Helvetica-Bold"; doc.Font = doc.AddFont(theFont); doc.AddText(theFont); doc.Save(Server.MapPath("~/Results/Output.pdf")); doc.Clear(); } } }

© 1997-2021 Codehacker - All Rights Reserved