Class BlockExtractionResult
Result of block extraction operation in CSS parsing
Inheritance
Namespace: IronPdf
Assembly: IronPdf.dll
Syntax
public class BlockExtractionResult : Object
BlockExtractionResult captures the outcome of a block extraction during CSS parsing in IronPDF, providing developers with essential data from the operation. It is primarily used to access the extracted content and track the position for subsequent operations. The Content property holds the extracted string, while NextIndex indicates the position in the source for the next extraction attempt, streamlining batch operations.
This class is useful when working with complex PDF documents where CSS-based block extraction is necessary. By utilizing BlockExtractionResult, developers can efficiently manage and manipulate extracted data, facilitating tasks such as content analysis, transformation, or reformatting. The ability to access both the content and the next index allows for precise control over the parsing process, ensuring that no data is overlooked.
For practical guidance, visit the IronPDF documentation and explore examples on how to extract text from PDFs. These resources provide insights into leveraging BlockExtractionResult effectively within your projects.
Constructors
BlockExtractionResult()
Declaration
public BlockExtractionResult()
Properties
Content
The content inside the block (between braces)
Declaration
public string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NextIndex
The next index to process after the block
Declaration
public int NextIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |