XFINIUM.PDF Documentation
SetStreamContent Method



Xfinium.Pdf.Core.Cos Namespace > PdfCosStream Class : SetStreamContent Method
Source stream for content
Type of compression to apply to stream content
Sets the COS stream content with the specified stream.
Syntax
'Declaration
 
Public Sub SetStreamContent( _
   ByVal sourceStream As Stream, _
   ByVal pdfFilter As PdfFilterType _
) 
'Usage
 
Dim instance As PdfCosStream
Dim sourceStream As Stream
Dim pdfFilter As PdfFilterType
 
instance.SetStreamContent(sourceStream, pdfFilter)
public void SetStreamContent( 
   Stream sourceStream,
   PdfFilterType pdfFilter
)
public:
void SetStreamContent( 
   Stream^ sourceStream,
   PdfFilterType pdfFilter
) 

Parameters

sourceStream
Source stream for content
pdfFilter
Type of compression to apply to stream content
Exceptions
ExceptionDescription
Thrown when sourceStream is null
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfCosStream Class
PdfCosStream Members