A utility class that makes it cleaner to process content from pages of a iText.Kernel.Pdf.PdfDocument through a specified RenderListener. More...
|
|
PdfDocumentContentParser (PdfDocument pdfDocument) |
|
virtual E |
ProcessContent< E > (int pageNumber, E renderListener, IDictionary< String, IContentOperator > additionalContentOperators) |
|
Processes content from the specified page number using the specified listener. More...
|
|
virtual E |
ProcessContent< E > (int pageNumber, E renderListener) |
|
Processes content from the specified page number using the specified listener More...
|
|
A utility class that makes it cleaner to process content from pages of a iText.Kernel.Pdf.PdfDocument through a specified RenderListener.
◆ ProcessContent< E >() [1/2]
virtual E iText.Kernel.Pdf.Canvas.Parser.PdfDocumentContentParser.ProcessContent< E > |
( |
int |
pageNumber, |
|
|
E |
renderListener |
|
) |
|
|
|
inlinevirtual |
Processes content from the specified page number using the specified listener
-
Template Parameters
-
E |
the type of the renderListener - this makes it easy to chain calls |
-
Parameters
-
pageNumber |
the page number to process |
renderListener |
the listener that will receive render callbacks |
-
Returns
-
the provided renderListener
◆ ProcessContent< E >() [2/2]
virtual E iText.Kernel.Pdf.Canvas.Parser.PdfDocumentContentParser.ProcessContent< E > |
( |
int |
pageNumber, |
|
|
E |
renderListener, |
|
|
IDictionary< String, IContentOperator > |
additionalContentOperators |
|
) |
|
|
|
inlinevirtual |
Processes content from the specified page number using the specified listener.
Processes content from the specified page number using the specified listener. Also allows registration of custom IContentOperators that can influence how (and whether or not) the PDF instructions will be parsed.
-
Template Parameters
-
E |
the type of the renderListener - this makes it easy to chain calls |
-
Parameters
-
pageNumber |
the page number to process |
renderListener |
the listener that will receive render callbacks |
additionalContentOperators |
an optional map of custom ContentOperators for rendering instructions |
-
Returns
-
the provided renderListener