Class ProjectToPdfConverter
Info
Transforms Microsoft Project files (MPP) into PDF documents.
public class ProjectToPdfConverterInheritance
object ← ProjectToPdfConverter
Inherited Members
- object.GetType(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Constructors
No public constructors besides the default.
Methods
ConvertToPdf(string, string)
Converts a Microsoft Project file (MPP) to a PDF file using default settings.
public void ConvertToPdf(string inputFilePath, string outputFilePath)Parameters
inputFilePathstring: Full path to the input MPP file.outputFilePathstring: Full path to the output PDF file.
Exceptions
- ArgumentNullException: The input or output path is null or empty.
- System.IO.FileNotFoundException: The input file does not exist.
- System.InvalidOperationException: Conversion process failed.
ConvertToPdf(string, string, PdfSaveOptions)
Converts a Microsoft Project file (MPP) to a PDF file using specified PDF save options.
public void ConvertToPdf(string inputFilePath, string outputFilePath, PdfSaveOptions options)Parameters
inputFilePathstring: Full path to the input MPP file.outputFilePathstring: Full path to the output PDF file.optionsPdfSaveOptions: Custom export settings (null uses defaults).
Exceptions
- ArgumentNullException: The input or output path is null or empty.
- System.IO.FileNotFoundException: The input file does not exist.
- System.InvalidOperationException: Conversion process failed.
Namespace: Tasqize Assembly: Tasqize.dll