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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also