Converts the input stream to the RasterImageFormat or DocumentFormat passed with the associated LoadDocumentOptions while redacting the words that match the provided regex pattern.
public IList<string> CovertRedact(
Stream input,
string pattern,
LoadDocumentOptions documentOptions,
RasterImageFormat rasterImageFormat,
DocumentFormat documentFormat
)
Public Function CovertRedact(
ByVal input As Stream,
ByVal pattern As String,
ByVal documentOptions As LoadDocumentOptions,
ByVal rasterImageFormat As RasterImageFormat,
ByVal documentFormat As DocumentFormat
) As IList(Of String)
public:
IList<String^>^ CovertRedact(
Stream^ input,
String^ pattern,
LoadDocumentOptions^ documentOptions,
RasterImageFormat^ rasterImageFormat,
DocumentFormat^ documentFormat
)
input
Input stream containing the Document to convert.
pattern
The Regex pattern to match the words to be redacted.
documentOptions
Document options for the conversion.
rasterImageFormat
The desired RasterImageFormat
to convert the input to. If a DocumentFormat
is desired, must be set to Unknown
.
documentFormat
The desired DocumentFormat
to convert the input to. If a RasterImageFormat
is desired, must be set to User
.
Returns a List of strings containing the paths to the output documents.
This method converts an input into either a RasterImageFormat or a DocumentFormat. If a DocumentFormat
is used, the RasterImageFormat
must be set to RasterImageFormat.Unknown
. If a RasterImageFormat
is desired, the DocumentFormat
must be set to DocumentFormat.User
.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document