Class OcrFormatProvider
Format provider that uses an OCR provider to create a RadFixedPage from an image.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.FormatProviders.Ocr
Assembly: Telerik.Windows.Documents.Fixed.FormatProviders.Ocr.dll
Syntax
public class OcrFormatProvider : BinaryFormatProviderBase<RadFixedPage>, IFormatProvider<RadFixedPage>, IBinaryFormatProvider<RadFixedPage>
Constructors
OcrFormatProvider(IOcrProvider)
Initializes a new instance of the Ocr
Declaration
public OcrFormatProvider(IOcrProvider ocrProvider)
Parameters
IOcr
|
Properties
CanExport
Gets a value indicating whether format provider can export.
Declaration
public override bool CanExport { get; }
Property Value
System. The value indicating whether can export. |
Overrides
CanImport
Gets a value indicating whether format provider can import.
Declaration
public override bool CanImport { get; }
Property Value
System. The value indicating whether can import. |
Overrides
OcrProvider
The OcrProvider instance used to process the image.
Declaration
public IOcrProvider OcrProvider { get; set; }
Property Value
SupportedExtensions
Gets the supported extensions.
Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
System. The supported extensions. |
Overrides
Methods
ImportOverride(Stream, CancellationToken)
Imports the specified input.
Declaration
protected override RadFixedPage ImportOverride(Stream input, CancellationToken cancellationToken)
Parameters
System. The input. |
System. The cancellation token used to cancel the operation. |
Returns
Rad The imported document. |