←Select platform

ProcessImage Method

Summary

Processes the stream input and outputs it to the desired RasterImageFormat according to the LoadDocumentOptions.

Syntax
C#
VB
C++
public IEnumerable<Stream> ProcessImage( 
   Stream input, 
   LoadDocumentOptions documentOptions, 
   RasterImageFormat outputFormat, 
   IList<Action<RasterImage>> ipActions, 
   string workingDirectory 
) 
Public Function ProcessImage( 
   ByVal input As Stream, 
   ByVal documentOptions As LoadDocumentOptions, 
   ByVal outputFormat As RasterImageFormat, 
   ByVal ipActions As IList(Of Action(Of RasterImage, 
   ByVal workingDirectory As String 
))) As IEnumerable(Of Stream) 
public:  
   IEnumerable<Stream^>^ ProcessImage( 
      Stream^ input, 
      LoadDocumentOptions^ documentOptions, 
      RasterImageFormat^ outputFormat, 
      IList<Action<RasterImage^>^>^ ipActions, 
      String^ workingDirectory 
   ) 

Parameters

input

Stream input containing the image or document to process.

documentOptions

The document options to use when loading the input.

outputFormat

The desired output format to convert the input to after processing.

ipActions

List of RasterImage actions to be performed on the input stream.

workingDirectory

The path to the directory where temporary work is to be done. If null is passed, the directory will default to the current system temporary folder.

Return Value

Returns an IEnumerable stream.

Remarks

The IEnumerable stream will contain either 1 stream if the output format is multipage or multiple streams if the input was multipage and the output format selected is single-page.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.CloudServices Assembly