Table of Contents

Class SavePdfCmdletCommand

Namespace
MASES.NetPDF.PowerShell.Cmdlet
Assembly
MASES.NetPDFPS.dll
[Cmdlet("Save", "PDF")]
[OutputType(new Type[] { typeof(PDDocument) })]
public class SavePdfCmdletCommand : NetPDFPSCmdlet
Inheritance
SavePdfCmdletCommand
Inherited Members

Properties

CompressParameter

[Parameter(Mandatory = false, Position = 2, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The compression to apply")]
public CompressParameters CompressParameter { get; set; }

Property Value

CompressParameters

OutputFile

[Parameter(Mandatory = true, Position = 1, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The file name of the PDF to write")]
public string OutputFile { get; set; }

Property Value

string

PdfDocument

[Parameter(Mandatory = true, Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The object containing the PDF")]
public PDDocument PdfDocument { get; set; }

Property Value

PDDocument

Methods

BeginProcessing()

protected override void BeginProcessing()

EndProcessing()

protected override void EndProcessing()

ProcessCommand()

protected override void ProcessCommand()