News & Releases

Minimize
Nasosoft Component for .NET v2.8 Released - Wednesday, July 28, 2010

Nasosoft Component for .NET v2.8 has released with many improvements.

Nasosoft Component for .NET is a suite of comprehensive .NET controls, including EXCEL, PDF, and RTF document format engines, RTF to HTML, HTML to RTF, RTF to TEXT, HTML to TEXT document transform engines, Chart control, SMTP, POP3, IMAP, FTP, WebDAV internet SDK and ZIP, GZIP, TAR compression.

What's new

  • Nasosoft Excel 
    • Support reading Excel 95 file format  
    • Improved error recovery for loading unreadable excel files
  • Nasosoft Transform
    • Support Text to PDF convertion 
  • Nasosoft PDF
    • Support MeasueString
  • Many Bug fixes from v2.7

How to Download

 

PDF Document Settings

   Minimize

How to set PDF Document Settings

PdfDocumentBuilder builder = new PdfDocumentBuilder();
IPdfDocument doc = builder.CreateDocument();
IPdfPage page = doc.Pages.AddNew();
 
IPdfFont font = builder.FontFactory.CreateStandardFont(PdfStandardFontFamilies.Courier, 20);
IPdfBrush brush = builder.BrushFactory.CreateSolidBrush(new PdfColor(Color.Blue));
 
IPdfDocumentInformation info = doc.DocumentInformation;
info.Author = "Yanni";
info.CreationDate = DateTime.Now;
info.Creator = "Secret Garden";
info.Keywords = "Document Settings Demo";
info.Subject = "Document Settings";
info.Title = "Demo";
 
page.Graphics.DrawString("Press Ctrl+D to see document settings", font, brush, 20, 20);
doc.Save("TestDocumentSettings.pdf");
doc.Close();