We’ve just release V2.1 of our Apoc PDF Toolkit component. The new release has the following features:
Security and encryption - Read and write documents using 40- or 128-bit encryption. - Modify owner and user passwords - Modify document permissions such as ability to print, extract text, etc. For a complete feature list - http://www.chive.com/products/apocpdffeatures.aspx
Apoc PDF Toolkit is a high quality software component that developers can add to their applications in order to manipulate existing PDF documents and create new PDF documents. Developed using Microsoft's .NET environment, this 100% managed code toolkit is
compatible with any .NET 1.1 application such as ASP.NET applications, Windows applications and Console applications. Apoc PDF Toolkit has been written to support version 1.4 of the Adobe PDF reference specification and supports the production of PDF documents
to Acrobat version 5. It is backwards compatible with all previous versions of the PDF specification. The component provides the developer with a familiar and easy to use Document Object Model. The product ships with full documentation in an MSDN style help
file together with variety of samples programs written in C# that demonstrate the power of the toolkit and its ease of integration.
Does your software allow the creation of PDF documents on the fly. I have a page that I need users to be able to print and this is a dynamic page and I just want to send the file to the client without having to save it to the server.
Apologies for the lengthy delay in my reply: The Apoc PDF Toolkit is capable of writing documents directly to a Stream without the need to serialise anything to disk. Here is an example to illustrate: PdfDocument file1 = new PdfDocument(...); PdfDocument file2
= new PdfDocument(...); // Create a collection of pages from file 2 PdfPageCollection pageCol = file2.Pages; // Add the pages from the collection to file 1 foreach (PdfPage page in pageCol) { file1.Pages.Append(page); } // Write PDF to in-memory buffer MemoryStream
ms = new MemoryStream() file1.Write(ms); Response.Clear(); Response.AppendHeader("content-disposition", "filename=concat.pdf"); Response.ContentType = "application/pdf"; byte[] bytes = ms.ToArray(); Response.OutputStream.Write(bytes, 0, bytes.Length); Response.End();
If you require any further information please do not hesitate to get in touch - support@chive.com Regards Chive Software
Chive Softwa...
Member
30 Points
6 Posts
Chive Software release Apoc PDF Toolkit V2.1
Apr 13, 2004 03:57 PM|LINK
KnighthawkSy...
Member
275 Points
55 Posts
Re: Chive Software release Apoc PDF Toolkit V2.1
Apr 29, 2004 03:42 PM|LINK
Chive Softwa...
Member
30 Points
6 Posts
Re: Chive Software release Apoc PDF Toolkit V2.1
May 05, 2004 12:41 PM|LINK
amitkeertee
Member
2 Points
1 Post
Re: Chive Software release Apoc PDF Toolkit V2.1
Apr 23, 2012 06:48 AM|LINK
Hi,
I am using chive apoc in my application however, while generating document its giving me following error.
Please could you help troubleshooting this?
APOC: System.InvalidOperationException: No font selected into device context
at Chive.Pdf.Gdi.GdiFontMetrics.get_FontData()
at Chive.Pdf.Gdi.GdiFontMetrics..ctor(GdiDeviceContent dc)
at Chive.Pdf.Gdi.GdiFont.CreateDesignFont(String faceName, Boolean bold, Boolean italic, GdiDeviceContent dc)
at Chive.Apoc.Render.Pdf.Fonts.TrueTypeFont.ObtainFontMetrics()
at Chive.Apoc.Render.Pdf.Fonts.TrueTypeFont..ctor(FontProperties properties)
at Chive.Apoc.Render.Pdf.Fonts.ProxyFont.LoadIfNecessary()
at Chive.Apoc.Render.Pdf.Fonts.ProxyFont.get_Ascender()
at Chive.Apoc.Layout.FontState.get_Ascender()
at Chive.Apoc.Layout.LineArea..ctor(FontState fontState, Int32 lineHeight, Int32 halfLeading, Int32 allocationWidth, Int32 startIndent, Int32 endIndent, LineArea prevLineArea)
at Chive.Apoc.Layout.BlockArea.start()
at Chive.Apoc.Fo.Flow.Block.Layout(Area area)
at Chive.Apoc.Fo.Flow.TableCell.Layout(Area area)
at Chive.Apoc.Fo.Flow.TableRow.Layout(Area area)
at Chive.Apoc.Fo.Flow.TableBody.Layout(Area area)
at Chive.Apoc.Fo.Flow.Table.Layout(Area area)
at Chive.Apoc.Fo.Flow.Block.Layout(Area area)
at Chive.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
at Chive.Apoc.Fo.Flow.Flow.Layout(Area area)
at Chive.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
at Chive.Apoc.StreamRenderer.Render(PageSequence pageSequence)
at Chive.Apoc.Fo.FOTreeBuilder.EndElement()
at Chive.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)