Table of Contents

Method SignAndSave

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

SignAndSave(PdfSigningOptions, string)

Digitally signs the document using the specified signing options. Then saves the document to the file with the specified name.

public void SignAndSave(PdfSigningOptions signingOptions, string signedFileName)

Parameters

signingOptions PdfSigningOptions

The options for the document signing.

signedFileName string

The name of the file to save the signed document to.

Remarks

This method uses the default save options. Use SignAndSave(PdfSigningOptions, string, PdfSaveOptions) overload to specify custom save options.

SignAndSave(PdfSigningOptions, string, PdfSaveOptions)

Digitally signs the document using the specified signing and save options. Then saves the document to the file with the specified name.

public void SignAndSave(PdfSigningOptions signingOptions, string signedFileName, PdfSaveOptions saveOptions)

Parameters

signingOptions PdfSigningOptions

The options for the document signing.

signedFileName string

The name of the file to save the signed document to.

saveOptions PdfSaveOptions

The save options to use.

SignAndSave(PdfSigningOptions, Stream)

Digitally signs the document using the specified signing options. Then saves the document to the specified stream.

public void SignAndSave(PdfSigningOptions signingOptions, Stream signedContentStream)

Parameters

signingOptions PdfSigningOptions

The options for the document signing.

signedContentStream Stream

The stream to save the signed document to.

Remarks

This method uses the default save options. Use SignAndSave(PdfSigningOptions, Stream, PdfSaveOptions) overload to specify custom save options.

SignAndSave(PdfSigningOptions, Stream, PdfSaveOptions)

Digitally signs the document using the specified signing and save options. Then saves the document to the specified stream.

public void SignAndSave(PdfSigningOptions signingOptions, Stream signedContentStream, PdfSaveOptions saveOptions)

Parameters

signingOptions PdfSigningOptions

The options for the document signing.

signedContentStream Stream

The stream to save the signed document to.

saveOptions PdfSaveOptions

The save options to use.