C# Keyboard Wedge API Documentation
C# Keyboard Wedge API Documentation
EasyScriptAPI
EasyScript Class
EasyScript Methods
AddListener Method
GetCardProtocol Method
GetSignatureProtocol Method
KeyboardEventToChar Method
Parse Method
ParseCardSwipe Method
ParseSignature Method
RemoveListener Method
RenderSignature Method

# EasyScript RenderSignature Method

This method will take a signature and will attempt to render it onto an Image object.

Namespace: EasyScriptAPI
Assembly: EasyScriptAPI (in EasyScriptAPI.dll) Version: 3.5.29.0 (3.5.29.0)
Syntax
C#
VB
C++
F#
Copy

    public Image RenderSignature(
    	Signature s,
    	Color foreColor,
    	Color backColor,
    	int lineThickness,
    	double scale
    )

    Public Function RenderSignature (
    	s As Signature,
    	foreColor As Color,
    	backColor As Color,
    	lineThickness As Integer,
    	scale As Double
    ) As Image

    public:
    Image^ RenderSignature(
    	Signature^ s,
    	Color foreColor,
    	Color backColor,
    	int lineThickness,
    	double scale
    )

    member RenderSignature :
            s : Signature *
            foreColor : Color *
            backColor : Color *
            lineThickness : int *
            scale : float -> Image

#### Parameters

s
  Type: EasyScriptAPI
  Signature
  Signature to render
foreColor
  Type: System.Drawing
  Color
  Foreground color (signature color) to use.
backColor
  Type: System.Drawing
  Color
  Background color
lineThickness
  Type: System
  Int32
  The thickness of each stroke in pixels (not scaled)
scale
  Type: System
  Double
  How much to scale the resulting image.

#### Return Value

Type: Image
Image containing the rendered signature
See Also

#### Reference

EasyScript Class
EasyScriptAPI Namespace