mindee-api-dotnet

ImageExtractor.ExtractImage Method

Declaring Type: ImageExtractor
Namespace: Mindee.Extraction
Assembly: Mindee
Assembly Version: 3.22.0+aa1b44d54eab23ff2156f9ad9391c70a961697c0

Overloads

Signature Description
ExtractImage(BaseField, int, int, string) Extracts a single image from a field having position data.
ExtractImage(PositionField, int, int, string) Extracts a single image from a Position field.

ExtractImage(BaseField, int, int, string)

Extracts a single image from a field having position data.

public ExtractedImage ExtractImage(BaseField field, int pageIndex, int index, string filename);

Parameters

field BaseField

The field to extract.

pageIndex int

The page index to extract, begins at 0.

index int

The index to use for naming the extracted image.

filename string

The output filename.

Returns

ExtractedImage

The extracted image, or null if the field does not have valid position data.

ExtractImage(PositionField, int, int, string)

Extracts a single image from a Position field.

public ExtractedImage ExtractImage(PositionField field, int pageIndex, int index, string filename);

Parameters

field PositionField

The field to extract.

pageIndex int

The page index to extract, begins at 0.

index int

The index to use for naming the extracted image.

filename string

The output filename.

Returns

ExtractedImage

The extracted image, or null if the field does not have valid position data.


Documentation generated by MdDocs