Sign-it® for Word
Version 6.04
Developers Reference Guide

 

The following signature controls are used with Sign-it for Word for Microsoft Word XP and 2003 documents. 

Properties Description
STRING UserId Unique Id identifying the user. Used for verifying a signature using the Password, Stamp, or Template method.
STRING FirstName User first name.
STRING LastName User last name.
STRING Reason Reason for signing the document.
STRING Location Location of signing.
STRING Title User title
STRING SignatureMethod The signature method. Valid values are:
"CIC_CLICK2SIGN" Click-to-sign signature
"CIC_EPAD" Live signature using ePad LCD tablet
"CIC_LIVE"  Live signature using generic tablet
"CIC_VOICE" Voice signature
"CIC_STAMP" Signature stamp
"CIC_TEMPLATE" Live signature with verification
"CIC_PASSWORD" Password-based signature
BOOL DisplayTitle Determines whether the user title is displayed
BOOL DisplayName Determines whether the user name is displayed
BOOL DisplayReason Determines whether the reason is displayed
BOOL DisplayLocation Determines whether the location is displayed
BOOL DisplayTimestamp Determines whether the timestamp  is displayed
BOOL DisplaySignatureMethod Determines whether the signature method is displayed
BOOL LockSignatureMethod Makes the signature method read-only in the ceremony dialog
BOOL LockCeremonyInformation Makes all of the ceremony information read-only in the ceremony dialog
BOOL DontShowCeremony Lock/unlock ceremony dialog. If “true” the ceremony dialog is not launched when calling the Sign method. This also means the user interface is not launched when the control is tapped/clicked with the mouse. “False” is default.

 

Sample Code

Modify properties of a SignItWord object in a document

VB 6.0 Sample:

Dim objWordApp As New Word.Application
Dim ret As Long
Dim obj As SignItWord
Dim doc As Word.Document

objWordApp.Documents.Open App.Path & "\" & (Text1.Text)

objWordApp.Visible = True
objWordApp.ActiveDocument.SignItWord1.FirstName = "Alberto"
objWordApp.ActiveDocument.SignItWord1.LastName = "Gonzales"
objWordApp.ActiveDocument.SignItWord1.Reason = "I, [FirstName] [LastName], am signing this document to confirm that it has been reviewed"
objWordApp.ActiveDocument.SignItWord1.Location = "Megargel, Texas"
objWordApp.ActiveDocument.SignItWord1.UserId = "agonzales@usa.com"
objWordApp.ActiveDocument.SignItWord1.Title = "Attorney General"
objWordApp.ActiveDocument.SignItWord1.SignatureMethod = "CIC_LIVE"
objWordApp.ActiveDocument.SignItWord1.DisplayTitle = 1
objWordApp.ActiveDocument.SignItWord1.DisplayName = 1
objWordApp.ActiveDocument.SignItWord1.DisplayReason = 1
objWordApp.ActiveDocument.SignItWord1.DisplayLocation = 1
objWordApp.ActiveDocument.SignItWord1.DisplayTimestamp = 1
objWordApp.ActiveDocument.SignItWord1.DisplaySignatureMethod = 1
objWordApp.ActiveDocument.SignItWord1.LockSignatureMethod = 0
objWordApp.ActiveDocument.SignItWord1.LockCeremonyInformation = 0
objWordApp.ActiveDocument.SignItWord1.DontShowCeremony = 0
objWordApp.ActiveDocument.Save
objWordApp.ActiveDocument.Close
objWordApp.Application.Quit

 

 

 

 

 

©2001-2007 Communication Intelligence Corporation, all rights reserved.
April 2007
www.cic.com