예제 #1
0
class OcrEngine(runtimeclass, IOcrEngine):
    __init__ = _non_activatable_init
    MaxImageDimension = _static_propget(IOcrEngineStatics, 'MaxImageDimension')
    AvailableRecognizerLanguages = _static_propget(
        IOcrEngineStatics, 'AvailableRecognizerLanguages')
    IsLanguageSupported = _static_method(IOcrEngineStatics,
                                         'IsLanguageSupported')
    TryCreateFromLanguage = _static_method(IOcrEngineStatics,
                                           'TryCreateFromLanguage')
    TryCreateFromUserProfileLanguages = _static_method(
        IOcrEngineStatics, 'TryCreateFromUserProfileLanguages')
예제 #2
0
class CryptographicBuffer(runtimeclass):
    __init__ = _non_activatable_init
    CreateFromByteArray = _static_method(ICryptographicBufferStatics,
                                         'CreateFromByteArray')
예제 #3
0
class Language(runtimeclass, ILanguage):
    CreateLanguage = _static_method(ILanguageFactory, 'CreateLanguage')
예제 #4
0
class SoftwareBitmap(runtimeclass, ISoftwareBitmap):
    CreateCopyWithAlphaFromBuffer = _static_method(
        ISoftwareBitmapStatics, 'CreateCopyWithAlphaFromBuffer')