Add

Add(string)

Add the path or URI containing the image for recognition / processing. The type of the image must correspond to the type specified in the constructor.

public void Add(string fullPath)
ParameterTypeDescription
fullPathStringPath to the image/ document / folder / archive.

See Also


Add(MemoryStream)

Add the memory stream containing the image for recognition / processing. The type of the image must correspond to the type specified in the constructor.

public void Add(MemoryStream stream)
ParameterTypeDescription
streamMemoryStreamMemory stream containing the image or document.

See Also


Add(string, int, int)

Add the multipage images / documents for recognition / processing. The type of the image must correspond to the type specified in the constructor.

public void Add(string fullPath, int startPage, int pagesCount)
ParameterTypeDescription
fullPathStringPath to the image/ document / folder / archive.
startPageInt32The first page/image for processing / recognition. Use for documents, zip, folders.
pagesCountInt32The total amount of pages/images for processing / recognition. Use for documents, zip, folders. Default = 1.

See Also


Add(MemoryStream, int, int)

Add the memory stream containing the multipage image for recognition / processing. The type of the image must correspond to the type specified in the constructor.

public void Add(MemoryStream stream, int startPage, int pagesCount)
ParameterTypeDescription
streamMemoryStreamMemory stream containing the multipage document.
startPageInt32The first page/image for processing / recognition. Use for documents.
pagesCountInt32The total amount of pages/images for processing / recognition. Use for documents. Default = 1.

See Also


Add(byte[], int, int, PixelType)

Add the decoded image to the list for recognition / processing. The type of the image must correspond to the type specified in the constructor (SingleImage).

public void Add(byte[] arr, int width, int height, PixelType pixelFormat)
ParameterTypeDescription
arrByte[]Decoded image in Aspose.Drawing.Color array.
widthInt32Image width.
heightInt32Image height.
pixelFormatPixelTypeSupports byte, rgb, bgr, rgba.

See Also


Add(Color[], int, int)

Add the decoded image to the list for recognition / processing. The type of the image must correspond to the type specified in the constructor (SingleImage).

public void Add(Color[] imageData, int width, int height)
ParameterTypeDescription
imageDataColor[]Decoded image in Aspose.Drawing.Color array.
widthInt32Image width.
heightInt32Image height.

See Also