Class PdfProducer
Contents
[
Hide
]PdfProducer class
Represents a class to produce PDF from other formats. This sample shows how to produce Pdf file from CGM file.
string inputFile = "myImage.cgm";
string outputFile = "myPdf.pdf";
try
{
PdfProducer.Produce(inputFile, ImportFormat.Cgm, outputFile);
// Success produced pdf file.
}
catch (InvalidCgmFileFormatException e)
{
// Do something...
}
public abstract class PdfProducer
Methods
Name | Description |
---|---|
static Produce(Stream, ImportFormat, Stream) | Produce the PDF stream using specified import format. This sample shows how to produce Pdf stream from CGM stream. |
static Produce(Stream, ImportFormat, string) | Produce the PDF file using specified import format. This sample shows how to produce Pdf file from CGM stream. |
static Produce(Stream, ImportOptions, Stream) | Produce the PDF file using specified import option. This sample shows how to produce Pdf stream from CGM stream. |
static Produce(Stream, ImportOptions, string) | Produce the PDF file using specified import option. This sample shows how to produce Pdf file from CGM stream. |
static Produce(string, ImportFormat, Stream) | Produce the PDF stream using specified import format. This sample shows how to produce Pdf stream from CGM file. |
static Produce(string, ImportFormat, string) | Produce the PDF file using specified import format. This sample shows how to produce Pdf file from CGM file. |
static Produce(string, ImportOptions, Stream) | Produce the PDF stream using specified import option. This sample shows how to produce Pdf stream from CGM file. |
static Produce(string, ImportOptions, string) | Produce the PDF file using specified import option. This sample shows how to produce Pdf file from CGM file. |
See Also
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF