[]
        
(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)
Public Sub Sign(signatureProperties As SignatureProperties, stream As 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)
Public Sub Sign(signatureProperties As SignatureProperties, fileName As String)
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)
Public Sub Sign(signatureProperties As SignatureProperties, stream As Stream, saveMode As 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)
Public Sub Sign(signatureProperties As SignatureProperties, fileName As String, saveMode As 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)
Public Sub Sign(signatureProperties As SignatureProperties, stream As Stream, saveOptions As SavePdfOptions)
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)
Public Sub Sign(signatureProperties As SignatureProperties, fileName As String, saveOptions As SavePdfOptions)
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)
Public Sub Sign(signatureProperties As SignatureProperties, stream As Stream, incrementalUpdate As Boolean)
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)
Public Sub Sign(signatureProperties As SignatureProperties, fileName As String, incrementalUpdate As Boolean)
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.