SignatureToImageConvert Method |
Convert a signature stream from a SignaturePad control into an image file stream.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public Stream Convert(
string sig,
int width,
int height,
string color,
ImageFileFormat format
)
Public Function Convert (
sig As String,
width As Integer,
height As Integer,
color As String,
format As ImageFileFormat
) As Stream
Parameters
- sig
- Type: SystemString
The signature stream to convert. - width
- Type: SystemInt32
The desired width, in pixels, of the resulting image. - height
- Type: SystemInt32
The desired height, in pixels, of the resulting image. - color
- Type: SystemString
An optional color value for the pen, in the form of a six hexadecimal digit RRGGBB value (e.g. "ff0000" for red). - format
- Type: NetQuarry.Util.ImageImageFileFormat
The desired image file format.
Return Value
Type:
StreamThe converted image file in a stream.
See Also