The hand print options.
Syntax
Example
Visual Basic | Copy Code |
---|
Public Sub HandprintOptionsPropertyExample()
RasterSupport.Unlock(Leadtools.RasterSupportType.Ocr, "TestKey")
Dim rasterDocument As RasterDocumentEngine
rasterDocument = RasterDocumentEngine.Instance
rasterDocument.Startup()
Dim hnr As RasterDocumentHandprintOptions = New Leadtools.Document.RasterDocumentHandprintOptions()
hnr = rasterDocument.HandprintOptions
If hnr.Style <> RasterDocumentHandRecognizeStyle.US Then
hnr.Style = RasterDocumentHandRecognizeStyle.US
End If
hnr.EnableSpace = False
hnr.CharacterHeight = 6
hnr.CharacterWidth = 4
hnr.CharacterSpace = 1
rasterDocument.HandprintOptions = hnr
rasterDocument.Shutdown()
End Sub |
C# | Copy Code |
---|
public void HandprintOptionsPropertyExample() { // Note that this is a sample key, which will not work in your toolkit RasterSupport.Unlock(Leadtools.RasterSupportType.Ocr, "TestKey"); RasterDocumentEngine rasterDocument; rasterDocument = RasterDocumentEngine.Instance; rasterDocument.Startup(); RasterDocumentHandprintOptions hnr = new RasterDocumentHandprintOptions(); hnr = rasterDocument.HandprintOptions; if (hnr.Style != RasterDocumentHandRecognizeStyle.US) hnr.Style = RasterDocumentHandRecognizeStyle.US; hnr.EnableSpace = false; hnr.CharacterHeight = 6; hnr.CharacterWidth = 4; hnr.CharacterSpace = 1; rasterDocument.HandprintOptions = hnr; rasterDocument.Shutdown(); } |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also