You are viewing 26 articles with the tag SDK Sample

Word OLE VBNet - SDK sample

Word OLE VBNet sample is a simple Microsoft Windows console application that converts a Microsoft Word document (an example path for the document would be C:\Test.docx) to a PDF using Word OLE automation and the novaPDF SDK application.

CSharp Converter - SDK sample

The CSharp Converter sample demonstrates how to convert an existing file by printing it to novaPDF Printer using the ShellExecute function. It also demonstrates how to set different options and manage profiles. The same approach should be taken if you print using a "Print()" method from another object (like an internet browser or a report control). Just replace the ShellExecute call with the call of your Print method.

[novaPDF SDK] - Do I have to open or activate a profile before trying to set an option for the printer driver?

When setting the options via the COM object (novaPDF SDK) you don't have to activate a profile before. You can set options for a profile that is not active but you have to be sure that that profile is created before you set the options. If no profiles are created, then all options will be made in the default profile.

Hello World (C#) - SDK sample

Hello World CSharp sample is a simple Windows console application that prints one page with the "novaPDF says Hello World from C#" text to the novaPDF. It demonstrates the basic use of the INovaPDFOptions interface. The printing job is made using the package "System.Drawing.Printing"

Word OLE CSharp - SDK sample

The Word OLE CSharp sample is a simple Windows console application that converts a MS Word document (C:\Test.doc) to PDF using Word OLE automation. This can be a part of a larger application that works seamlessly with the novaPDF SDK development.

Multiple printers SDK sample

Multiple printers sample is similar with the Temporary printer sample but it uses several threads.