Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / ContentStream Class / SetContent Method

In This Topic
    SetContent Method (ContentStream)
    In This Topic
    For internal use. Sets the content of this ContentStream from the specified System.IO.MemoryStream. If copyStream is true then stream content will be copied and it should be disposed; otherwise (copyStream is false) the content stream will use passed stream.
    Syntax
    'Declaration
     
    Public Sub SetContent( _
       ByVal stream As System.IO.MemoryStream, _
       Optional ByVal copyStream As System.Boolean _
    ) 
    public void SetContent( 
       System.IO.MemoryStream stream,
       System.bool copyStream
    )

    Parameters

    stream
    copyStream
    See Also