[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfDocument.Sign

Sign Method

Sign(SignatureProperties, Stream)

Signs and saves the current document to a stream. Note that stream must support read and seek operations.

Declaration
public void Sign(SignatureProperties signatureProperties, Stream stream)
Parameters
Type Name Description
SignatureProperties signatureProperties

Properties of the signature used to sign the document.

Stream stream

The output stream (must support read and seek operations).

Sign(SignatureProperties, string)

Signs and saves the current document to a file.

Declaration
public void Sign(SignatureProperties signatureProperties, string fileName)
Parameters
Type Name Description
SignatureProperties signatureProperties

Properties of the signature used to sign the document.

string fileName

The name of the PDF file to create.

Sign(SignatureProperties, Stream, SaveMode)

Signs and saves the current document to a stream. Note that stream must support read and seek operations.

Declaration
public void Sign(SignatureProperties signatureProperties, Stream stream, SaveMode saveMode)
Parameters
Type Name Description
SignatureProperties signatureProperties

Properties of the signature used to sign the document.

Stream stream

The output stream (must support read and seek operations).

SaveMode saveMode

The PDF saving mode.

Sign(SignatureProperties, string, SaveMode)

Signs and saves the current document to a file.

Declaration
public void Sign(SignatureProperties signatureProperties, string fileName, SaveMode saveMode)
Parameters
Type Name Description
SignatureProperties signatureProperties

Properties of the signature used to sign the document.

string fileName

The name of the PDF file to create.

SaveMode saveMode

The PDF save mode.

Sign(SignatureProperties, Stream, SavePdfOptions)

Signs and saves the current document to a stream. Note that stream must support read and seek operations.

Declaration
public void Sign(SignatureProperties signatureProperties, Stream stream, SavePdfOptions saveOptions)
Parameters
Type Name Description
SignatureProperties signatureProperties

Properties of the signature used to sign the document.

Stream stream

The output stream (must support read and seek operations).

SavePdfOptions saveOptions

The PDF save options.

Sign(SignatureProperties, string, SavePdfOptions)

Signs and saves the current document to a file.

Declaration
public void Sign(SignatureProperties signatureProperties, string fileName, SavePdfOptions saveOptions)
Parameters
Type Name Description
SignatureProperties signatureProperties

Properties of the signature used to sign the document.

string fileName

The name of the PDF file to create.

SavePdfOptions saveOptions

The PDF save options.

Sign(SignatureProperties, Stream, bool)

Signs and saves the current document to a file. Note that stream must support read and seek operations.

Declaration
public void Sign(SignatureProperties signatureProperties, Stream stream, bool incrementalUpdate)
Parameters
Type Name Description
SignatureProperties signatureProperties

Properties of the signature used to sign the document.

Stream stream

The output stream (must support read and seek operations).

bool incrementalUpdate

Indicates whether the document should be saved using incremental update.

Sign(SignatureProperties, string, bool)

Signs and saves the current document to a stream.

Declaration
public void Sign(SignatureProperties signatureProperties, string fileName, bool incrementalUpdate)
Parameters
Type Name Description
SignatureProperties signatureProperties

Properties of the signature used to sign the document.

string fileName

The name of the PDF file to create.

bool incrementalUpdate

Indicates whether the document should be saved using incremental update.