PdfCosStream.SetStreamContent Method
SetStreamContent(Stream,PdfFilterType)
Sets the COS stream content with the specified stream.
Parameters
sourceStream Stream
Source stream for content
pdfFilter PdfFilterType
Type of compression to apply to stream content