ISPConversionProcessor.PreProcess method
NOTE: This API is now obsolete.
Provides customization of file content before it is sent to the document converter.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("This interface is obsolete.", False)> _
Function PreProcess ( _
request As SPExecutingConversionRequest, _
fileData As Byte() _
) As Byte()
'Usage
Dim instance As ISPConversionProcessor
Dim request As SPExecutingConversionRequest
Dim fileData As Byte()
Dim returnValue As Byte()
returnValue = instance.PreProcess(request, _
fileData)
[ObsoleteAttribute("This interface is obsolete.", false)]
byte[] PreProcess(
SPExecutingConversionRequest request,
byte[] fileData
)
Parameters
request
Type: Microsoft.SharePoint.SPExecutingConversionRequestAn SPExecutingConversionRequest object that conveys the context of the conversion.
fileData
Type: []A Byte array that contains the contents of the file that is about to be converted. The PreProcess method can be used to customize the file content before it is sent to the converter.
Return value
Type: []
A Byte array that contains the file content.
See also
Reference
ISPConversionProcessor interface