HtmlFileTopic.CreateContentReader Method
- Namespace
- Kampute.DocToolkit.Topics
- Assembly
- Kampute.DocToolkit.dll
Definition
Creates a TextReader to read the content of the topic
protected override TextReader CreateContentReader(IDocumentationContext context)Parameters
contextIDocumentationContext- The documentation context that provides additional information for the operation.
Returns
- TextReader
- A TextReader to read the content of the topic.
Exceptions
- IOException
- Thrown when an I/O error occurs while reading the file specified by FileTopic.FilePath.

<body>tag from the HTML file and returns a StringReader for that content. If the<body>tag is not found, it returns a StringReader for the entire HTML file content.