TextParser Library | ComponentOne
C1.TextParser Namespace / IExtractor Interface / Extract Method
The input stream used by this IExtractor
The encoding used by the input stream. If the encoding is set null, then UTF8 encoding will be used



In This Topic
    Extract Method (IExtractor)
    In This Topic
    Execute the process of extraction from an input stream
    Syntax
    'Declaration
     
    
    Function Extract( _
       ByVal input As Stream, _
       Optional ByVal encoding As Encoding _
    ) As IExtractionResult
    'Usage
     
    
    Dim instance As IExtractor
    Dim input As Stream
    Dim encoding As Encoding
    Dim value As IExtractionResult
     
    value = instance.Extract(input, encoding)

    Parameters

    input
    The input stream used by this IExtractor
    encoding
    The encoding used by the input stream. If the encoding is set null, then UTF8 encoding will be used

    Return Value

    Return IExtractionResult result of the process extract input text
    See Also