IStructuredExtractorGetCellValue Method
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Returns value of specified cell of the table structure.
Namespace:Bytescout.PDFExtractorAssembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
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.IStructuredExtractor.GetCellValue(System.Int32,System.Int32,System.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(0); //prepare page with index = 0 int rowCount = extractor.GetRowCount(0); int CellsAlreadyScanned = 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