Class OcrOutput

Class OcrOutput

De naam: Aspose.OCR Verzameling: Aspose.OCR.dll (25.4.0)

Een containerklasse om de resultaten van OCR-operaties op te slaan en te beheren.

public class OcrOutput : List<recognitionresult>, IList<recognitionresult>, ICollection<recognitionresult>, IList, ICollection, IReadOnlyList<recognitionresult>, IReadOnlyCollection<recognitionresult>, IEnumerable<recognitionresult>, IEnumerable

Inheritance

object List OcrOutput

Implements

IList , ICollection , IList , ICollection , IReadOnlyList , IReadOnlyCollection , IEnumerable , IEnumerable

Geëerbiede leden

List.Add(RecognitionResult) , List.AddRange(IEnumerable) , List.AsReadOnly() , List.BinarySearch(int, int, RecognitionResult, IComparer?) , List.BinarySearch(RecognitionResult) , List.BinarySearch(RecognitionResult, IComparer?) , List.Clear() , List.Contains(RecognitionResult) , List.ConvertAll(Converter<recognitionresult, toutput="">) , List.CopyTo(RecognitionResult[]) , List.CopyTo(int, RecognitionResult[], int, int) , List.CopyTo(RecognitionResult[], int) , List.EnsureCapacity(int) , List.Exists(Predicate) , List.Find(Predicate) , List.FindAll(Predicate) , List.FindIndex(Predicate) , List.FindIndex(int, Predicate) , List.FindIndex(int, int, Predicate) , List.FindLast(Predicate) , List.FindLastIndex(Predicate) , List.FindLastIndex(int, Predicate) , List.FindLastIndex(int, int, Predicate) , List.ForEach(Action) , List.GetEnumerator() , List.GetRange(int, int) , List.Slice(int, int) , List.IndexOf(RecognitionResult) , List.IndexOf(RecognitionResult, int) , List.IndexOf(RecognitionResult, int, int) , List.Insert(int, RecognitionResult) , List.InsertRange(int, IEnumerable) , List.LastIndexOf(RecognitionResult) , List.LastIndexOf(RecognitionResult, int) , List.LastIndexOf(RecognitionResult, int, int) , List.Remove(RecognitionResult) , List.RemoveAll(Predicate) , List.RemoveAt(int) , List.RemoveRange(int, int) , List.Reverse() , List.Reverse(int, int) , List.Sort() , List.Sort(IComparer?) , List.Sort(int, int, IComparer?) , List.Sort(Comparison) , List.ToArray() , List.TrimExcess() , List.TrueForAll(Predicate) , List.Capacity , List.Count , List.this[int] , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

OcrOutput()

Initialiseert een nieuwe instantie van de Aspose.OCR.OcrOutput-klasse met een lege collectie.Deze constructeur roept de basisklasse constructeur aan om een lege lijst van Aspose.OCR.RecognitionResult te initiëren.

public OcrOutput()

OcrOutput(IEnumerable, De OcrInput)

Initialiseert een nieuwe instantie van de Aspose.OCR.OcrOutput-klasse met een specifieke collectie van Aspose.OCR.RecognitionResult.Deze constructor creëert een nieuwe Aspose.OCR.OcrOutput door de elementen van de gegeven collectie te kopiëren.

public OcrOutput(IEnumerable<recognitionresult> collection, OcrInput input)

Parameters

collection IEnumerable < RecognitionResult >

De verzameling van Aspose.OCR.RecognitionResult om de lijst met te initialiseren.

input OcrInput

De verzameling van afbeeldingen gegevens van de klant.

OcrOutput(Int)

Initialiseert een nieuwe instantie van de Aspose.OCR.OcrOutput-klasse met een aangegeven initiële capaciteit.Deze constructor creëert een nieuwe Aspose.OCR.OcrOutput met een vooraf gedefinieerd aantal elementen toegewezen, optimaliseren voor prestaties wanneer de grootte vooruit bekend is.

public OcrOutput(int capacity)

Parameters

capacity int

Dit getal vertegenwoordigt het maximale aantal elementen dat de lijst kan houden voordat het wordt hersteld.

Methods

AddRange(IEnumerable)

Voeg de elementen van de aangegeven collectie toe aan het einde van de Aspose.OCR.OcrOutput lijst.Deze methode overschrijdt het standaard AddRange gedrag om bijkomende operaties uit te voeren, indien nodig.

public void AddRange(IEnumerable<recognitionresult> collection)

Parameters

collection IEnumerable < RecognitionResult >

De verzameling van Aspose.OCR.RecognitionResult om toe te voegen.

Save(string, SaveFormat, string, PdfOptimizationMode)

Speel alle herkenningsresultaten op een bestand.

public void Save(string fullFileName, SaveFormat saveFormat = SaveFormat.Text, string embeddedFontPath = null, PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)

Parameters

fullFileName string

Filename met een pad voor het opslaan van herkenning resultaat in het geselecteerde formaat.

saveFormat SaveFormat

Documentformaat (Docx, Txt, PDF, Xlsx, Rtf, Json, Xml, Epub)

embeddedFontPath string

Optioneel. volledige route naar de gebruiker lettertype.

optimizePdf PdfOptimizationMode

Verminder de PDF-bestandgrootte door de kwaliteit van achtergrondbeelden te verlagen.De oorspronkelijke beeldkwaliteit wordt standaard bewaard.

Save(MemoryStream, SaveFormat, string, PdfOptimizationMode)

Speel alle herkenningsresultaten op een geheugenstroom in het aangegeven formaat.

public void Save(MemoryStream stream, SaveFormat saveFormat = SaveFormat.Text, string embeddedFontPath = null, PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)

Parameters

stream MemoryStream

MemoryStream voor het opslaan van herkenning resulteert in het geselecteerde formaat.

saveFormat SaveFormat

Documentformaat (Docx, Txt, PDF, Xlsx, Rtf, Json, Xml, Epub)

embeddedFontPath string

Optioneel. volledige route naar de gebruiker lettertype.

optimizePdf PdfOptimizationMode

Verminder de PDF-bestandgrootte door de kwaliteit van achtergrondbeelden te verlagen.De oorspronkelijke beeldkwaliteit wordt standaard bewaard.

SavePdf(String, String, PdfOptimizationMode)

Bewaar alle herkenningsresultaten in een zoektochtbare PDF-bestand, met de oorspronkelijke beelden ingesteld als de achtergrond.

public void SavePdf(string fullFileName, string embeddedFontPath = null, PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)

Parameters

fullFileName string

Filename met een pad voor het opslaan van herkenning resultaat in het geselecteerde formaat.

embeddedFontPath string

Optioneel. volledige route naar de gebruiker lettertype.

optimizePdf PdfOptimizationMode

Verminder de PDF-bestandgrootte door de kwaliteit van achtergrondbeelden te verlagen.De oorspronkelijke beeldkwaliteit wordt standaard bewaard.

SavePdf(MemoryStream, string, PdfOptimizationMode)

Bewaar alle herkenningsresultaten in een in-memory zoektochtbaar PDF-document, de originele afbeeldingen in de achtergrond.

public void SavePdf(MemoryStream stream, string embeddedFontPath = null, PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)

Parameters

stream MemoryStream

MemoryStream voor het opslaan van herkenning resulteert in het geselecteerde formaat.

embeddedFontPath string

Optioneel. volledige route naar de gebruiker lettertype.

optimizePdf PdfOptimizationMode

Verminder de PDF-bestandgrootte door de kwaliteit van achtergrondbeelden te verlagen.De oorspronkelijke beeldkwaliteit wordt standaard bewaard.</recognitionresult,>

 Nederlands