Class PdfProducer
Contenu
[
Cacher
]Classe PdfProducer
Représente une classe pour produire des PDF à partir d’autres formats. Cet exemple montre comment produire un fichier Pdf à partir d’un fichier CGM.
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
Méthodes
| Nom | Description |
|---|---|
| static Produce(Stream, ImportFormat, Stream) | Produire le flux PDF en utilisant le format d’importation spécifié. Cet exemple montre comment produire un flux Pdf à partir d’un flux CGM. |
| static Produce(Stream, ImportFormat, string) | Produire le fichier PDF en utilisant le format d’importation spécifié. Cet exemple montre comment produire un fichier Pdf à partir d’un flux CGM. |
| static Produce(Stream, ImportOptions, Stream) | Produire le fichier PDF en utilisant l’option d’importation spécifiée. Cet exemple montre comment produire un flux Pdf à partir d’un flux CGM. |
| static Produce(Stream, ImportOptions, string) | Produire le fichier PDF en utilisant l’option d’importation spécifiée. Cet exemple montre comment produire un fichier Pdf à partir d’un flux CGM. |
| static Produce(string, ImportFormat, Stream) | Produire le flux PDF en utilisant le format d’importation spécifié. Cet exemple montre comment produire un flux Pdf à partir d’un fichier CGM. |
| static Produce(string, ImportFormat, string) | Produire le fichier PDF en utilisant le format d’importation spécifié. Cet exemple montre comment produire un fichier Pdf à partir d’un fichier CGM. |
| static Produce(string, ImportOptions, Stream) | Produire le flux PDF en utilisant l’option d’importation spécifiée. Cet exemple montre comment produire un flux Pdf à partir d’un fichier CGM. |
| static Produce(string, ImportOptions, string) | Produire le fichier PDF en utilisant l’option d’importation spécifiée. Cet exemple montre comment produire un fichier Pdf à partir d’un fichier CGM. |
Voir aussi
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF