EndStream(Stream,PdfName,IPdfDict,Boolean,EncryptionStreamType,Boolean) Method
In This Topic
Ends writing a PDF indirect object started with one of BeginObj(...) methods. If is not empty then writes PDF stream, including "Length" and "Filter" dictionary properties.
Syntax
'Declaration
Public Overloads Sub EndStream( _
ByVal As System.IO.Stream, _
ByVal As PdfName, _
ByVal As IPdfDict, _
Optional ByVal As System.Boolean, _
Optional ByVal As EncryptionStreamType, _
Optional ByVal As System.Boolean _
)
public void EndStream(
System.IO.Stream ,
PdfName ,
IPdfDict ,
System.bool ,
EncryptionStreamType ,
System.bool
)
Parameters
- stream
- The data to write.
- filterName
- The PDF filter used to decode stream data, can be null (no filter).
- filterParams
- The parameters of PDF filter, can be null.
- useCompression
- Indicates whether to compress data if compression specified for the GrapeCity.Documents.Pdf.GcPdfDocument.
- est
- The stream type, indicates whether to encrypt data.
- forceLengthAsDirectValue
- If true then Length entry will be written as DIRECT VALUE.
See Also