TTMSFNCSignatureCapture Class
Signature capture control that lets users draw a freehand signature with a mouse, stylus, or touch. Supports saving the captured signature as a bitmap or clearing it programmatically.
API unit family: TMSFNCSignatureCapture
Inherits from: TTMSFNCCustomSignatureCapture
Syntax
TTMSFNCSignatureCapture = class(TTMSFNCCustomSignatureCapture)
Properties
| Name | Description |
|---|---|
| ClearSig | Position and image settings for the clear-signature action. (inherited from TTMSFNCCustomSignatureCapture) |
| Empty | When True, the signature contains no captured strokes; assigning True clears the signature. (inherited from TTMSFNCCustomSignatureCapture) |
| Font | Font used for the signature hint text. (inherited from TTMSFNCCustomSignatureCapture) |
| Pen | Stroke used when capturing and drawing signature lines. (inherited from TTMSFNCCustomSignatureCapture) |
| SignaturePoints | Captured points that make up the current signature. (inherited from TTMSFNCCustomSignatureCapture) |
| Text | Hint text displayed in the signature area. (inherited from TTMSFNCCustomSignatureCapture) |
| TextPosition | Position and guide-line settings for the hint text. (inherited from TTMSFNCCustomSignatureCapture) |
Methods
| Name | Description |
|---|---|
| GetBase64Img | Returns the current signature image as a Base64-encoded image string. (inherited from TTMSFNCCustomSignatureCapture) |
| GetImageFromStream | Creates a bitmap from image data stored in a stream. (inherited from TTMSFNCCustomSignatureCapture) |
| LoadFromFile | Loads signature point data from a file. (inherited from TTMSFNCCustomSignatureCapture) |
| LoadFromStream | Loads signature point data from a stream. (inherited from TTMSFNCCustomSignatureCapture) |
| SaveToFile | Saves the captured signature point data to a file. (inherited from TTMSFNCCustomSignatureCapture) |
| SaveToImageFile | Saves the current signature as an image file. (inherited from TTMSFNCCustomSignatureCapture) |
| SaveToImageStream | Saves the current signature image to a stream. (inherited from TTMSFNCCustomSignatureCapture) |
| SaveToStream | Saves the captured signature point data to a stream. (inherited from TTMSFNCCustomSignatureCapture) |