Link Search Menu Expand Document

StructuredExtractorGetCellValue Method

Returns value of specified cell of the table structure.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.0.1.4281-master
Syntax
public string GetCellValue(
	int pageIndex,
	int rowIndex,
	int columnIndex
)

Parameters

pageIndex
Type: SystemInt32
Document page index.
rowIndex
Type: SystemInt32
Row index.
columnIndex
Type: SystemInt32
Column index.

Return Value

Type: String

[Missing <returns> documentation for "M:Bytescout.PDFExtractor.StructuredExtractor.GetCellValue(System.Int32,System.Int32,System.Int32)"]

Implements

IStructuredExtractorGetCellValue(Int32, Int32, Int32)
Examples
Example
// Create Bytescout.PDFExtractor.StructuredExtractor instance
StructuredExtractor extractor = new StructuredExtractor();
extractor.RegistrationName = "demo";
extractor.RegistrationKey = "demo";

// Load sample PDF document
extractor.LoadDocumentFromFile("sample3.pdf");

extractor.PrepareStructure();

int rowCount = extractor.GetRowCount(0);

for (int row = 0; row < rowCount; row++)
{
    int columnCount = extractor.GetColumnCount(0, row);

    for (int col = 0; col < columnCount; col++)
    {
        Trace.WriteLine(extractor.GetCellValue(0, row, col));
    }

}
See Also

Reference


Copyright © 2016 - 2021 ByteScout