SigPlus.Net Documentation

SigPlusNET.SetImageFileFormat Method 

public void SetImageFileFormat(
   int FileFormat
);

Remarks

Sets the current format to use for Image files. The default is .BMP. The file extension is not assumed in the WriteImageFile function. Any extension can be specified, but it should match the specified file format. Note that writing an image file is completely different from a .sig file. An image file is just a standard image format of what is seen in the control and cannot be encrypted or decrypted by the SigPlus control. The .sig file format does not store an image, but rather uses a unique method of preserving the original signature data from the tablet. To create a metafile with a transparent background use a trio of instructions to set TabletOpaque = False, then WriteImageFile, the TabletOpaque = True. For all other image files, TabletOpaque must be true when the image file is written.

Parameters

FileFormat-File format for Image files.

0=Compressed BMP (default) must have .bmp ext.
1=Uncompressed BMP must have .bmp ext.
2=Mono. BMP must have .bmp ext.
3=JPG Q=20 must have .jpg ext.
4=JPG Q=100 must have .jpg ext.
5=Uncompressed TIF must have .tif ext.
6=Compressed TIF must have .tif ext.
7=WMF (windows metafile) must have .wmf ext.
8=EMF (enhanced metafile) must have .emf ext.
9=TIF (1-bit) must have .tif ext.
10=TIF (1-bit inverted) must have .tif ext.

See Also

SigPlusNET Class | Topaz Namespace