C# Класс BindingLibrary.WritePadAPI

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
language LanguageType

Открытые методы

Метод Описание
detectGesture ( int type, List currentStroke ) : int
getLanguageName ( ) : String
initializeFlags ( ) : void
isRecoFlagSet ( uint flags, uint flag ) : bool
recoAddPixel ( int stroke, float x, float y ) : int
recoDeleteLastStroke ( ) : bool
recoFree ( ) : void
recoGetFlags ( ) : uint
recoInit ( ) : void
recoInkData ( int nDataLen, bool bAsync, bool bFlipY, bool bSort, bool bNewLine ) : String
recoLearnWord ( String word, int weight ) : bool
recoNewStroke ( float width, uint color ) : int
recoResetInk ( ) : void
recoResultColumnCount ( ) : int
recoResultRowCount ( int col ) : int
recoResultWeight ( int column, int row ) : int
recoResultWord ( int column, int row ) : String
recoSetFlags ( uint flags ) : void
recoStrokeCount ( ) : int
setRecoFlag ( uint flags, bool value, uint flag ) : uint

Приватные методы

Метод Описание
HWR_CheckGesture ( int type, CGTracePoint stroke, int len, int nScale, int nMinLen ) : int
HWR_FreeRecognizer ( IntPtr reco, string inDictionaryCustom, string inLearner, string inWordList ) : uint
HWR_GetLanguageName ( IntPtr reco ) : IntPtr
HWR_GetRecognitionFlags ( IntPtr reco ) : uint
HWR_GetResultAlternativeCount ( IntPtr reco, int nWord ) : int
HWR_GetResultWeight ( IntPtr reco, int nWord, int nAlternative ) : UInt16
HWR_GetResultWord ( IntPtr reco, int nWord, int nAlternative ) : IntPtr
HWR_GetResultWordCount ( IntPtr reco ) : int
HWR_InitRecognizer ( string inDictionaryMain, string inDictionaryCustom, string inLearner, string inAutoCorrect, int language, int &pFlags ) : IntPtr
HWR_LearnNewWord ( IntPtr reco, IntPtr word, UInt16 weight ) : int
HWR_RecognizeInkData ( IntPtr reco, IntPtr inkData, int nFirstStroke, int nLastStroke, bool bAsync, bool bFlipY, bool bSort, bool bSelOnly ) : IntPtr
HWR_SetDictionaryData ( IntPtr reco, byte data, int ndictinarytype ) : int
HWR_SetRecognitionFlags ( IntPtr reco, uint flags ) : uint
INK_AddEmptyStroke ( IntPtr inkData, float width, uint color ) : int
INK_AddPixelToStroke ( IntPtr inkData, int stroke, float x, float y, int pressure ) : int
INK_DeleteStroke ( IntPtr inkData, int nStroke ) : bool
INK_Erase ( IntPtr inkData ) : int
INK_GetStrokeP ( IntPtr inkData, int nStroke, IntPtr &stroke, float width, IntPtr &color ) : int
INK_InitData ( ) : IntPtr
INK_StrokeCount ( IntPtr inkData, bool selectedOnly ) : int
WritePadAPI ( ) : System

Описание методов

detectGesture() публичный статический Метод

public static detectGesture ( int type, List currentStroke ) : int
type int
currentStroke List
Результат int

getLanguageName() публичный статический Метод

public static getLanguageName ( ) : String
Результат String

initializeFlags() публичный статический Метод

public static initializeFlags ( ) : void
Результат void

isRecoFlagSet() публичный статический Метод

public static isRecoFlagSet ( uint flags, uint flag ) : bool
flags uint
flag uint
Результат bool

recoAddPixel() публичный статический Метод

public static recoAddPixel ( int stroke, float x, float y ) : int
stroke int
x float
y float
Результат int

recoDeleteLastStroke() публичный статический Метод

public static recoDeleteLastStroke ( ) : bool
Результат bool

recoFree() публичный статический Метод

public static recoFree ( ) : void
Результат void

recoGetFlags() публичный статический Метод

public static recoGetFlags ( ) : uint
Результат uint

recoInit() публичный статический Метод

public static recoInit ( ) : void
Результат void

recoInkData() публичный статический Метод

public static recoInkData ( int nDataLen, bool bAsync, bool bFlipY, bool bSort, bool bNewLine ) : String
nDataLen int
bAsync bool
bFlipY bool
bSort bool
bNewLine bool
Результат String

recoLearnWord() публичный статический Метод

public static recoLearnWord ( String word, int weight ) : bool
word String
weight int
Результат bool

recoNewStroke() публичный статический Метод

public static recoNewStroke ( float width, uint color ) : int
width float
color uint
Результат int

recoResetInk() публичный статический Метод

public static recoResetInk ( ) : void
Результат void

recoResultColumnCount() публичный статический Метод

public static recoResultColumnCount ( ) : int
Результат int

recoResultRowCount() публичный статический Метод

public static recoResultRowCount ( int col ) : int
col int
Результат int

recoResultWeight() публичный статический Метод

public static recoResultWeight ( int column, int row ) : int
column int
row int
Результат int

recoResultWord() публичный статический Метод

public static recoResultWord ( int column, int row ) : String
column int
row int
Результат String

recoSetFlags() публичный статический Метод

public static recoSetFlags ( uint flags ) : void
flags uint
Результат void

recoStrokeCount() публичный статический Метод

public static recoStrokeCount ( ) : int
Результат int

setRecoFlag() публичный статический Метод

public static setRecoFlag ( uint flags, bool value, uint flag ) : uint
flags uint
value bool
flag uint
Результат uint

Описание свойств

language публичное статическое свойство

public static LanguageType language
Результат LanguageType