[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.ContentStream.SetContent

SetContent Method

SetContent(MemoryStream, bool)

For internal use. Sets the content of this ContentStream from the specified 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.

Declaration
public void SetContent(MemoryStream stream, bool copyStream = true)
Public Sub SetContent(stream As MemoryStream, Optional copyStream As Boolean = True)
Parameters
Type Name Description
MemoryStream stream
bool copyStream