How can I alter this method to output a stream instead?
Public Function ConvertMultiple(ByVal xmlPaths As String(), ByVal pdfPath As String) As Boolean _
Implements IPrince.ConvertMultiple
Dim args As String
Dim doc As String
Dim docPaths As String
docPaths = ""
For Each doc In xmlPaths
docPaths = docPaths + Chr(34) + doc + Chr(34) + " "
Next
args = getArgs() + docPaths + " -o " + Chr(34) + pdfPath + Chr(34)
Return Convert1(args)
End Function
Public Function ConvertMultiple(ByVal xmlPaths As String(), ByVal pdfPath As String) As Boolean _
Implements IPrince.ConvertMultiple
Dim args As String
Dim doc As String
Dim docPaths As String
docPaths = ""
For Each doc In xmlPaths
docPaths = docPaths + Chr(34) + doc + Chr(34) + " "
Next
args = getArgs() + docPaths + " -o " + Chr(34) + pdfPath + Chr(34)
Return Convert1(args)
End Function