Initializes a new instance of the SignatureImage class.

SignatureImage(String, Int)

public SignatureImage(string fileName, int filterIndex);
Public Sub New(ByVal fileName As String, ByVal filterIndex As Integer)

SignatureImage(System.Drawing.Image)

public SignatureImage(System.Drawing.Image image);
Public Sub New(ByVal image As System.Drawing.Image)

SignatureImage(System.IO.MemoryStream)

public SignatureImage(System.IO.MemoryStream memoryStream);
Public Sub New(ByVal memoryStream As System.IO.MemoryStream)

Parameters

Parameter Description
fileName Specifies the name and the path of the file from which the image is loaded.
filterIndex Specifies the index of the filter used to load the image. It is an index in the string returned through the ImageCollection.ImportFilters property starting with 1. Possible values are:
Event Description
1 Windows Bitmap (.BMP)
2 Tagged Image Format (.TIF)
3 Windows Metafile (.WMF)
4 Portable Network Graphics (.PNG)
5 JPEG File Interchange Format (.JPG, .JPEG)
6 Graphics Interchange Format (.GIF)
7 Windows Enhanced Metafile (.EMF)
8 Scalable Vector Graphics (.SVG)
image Specifies a System.Drawing.Image object which is used to initialize the signature image.
memoryStream Specifies a memory stream from which the data for the signature image is read.