PdfPage.MergeContentStreams Method

Tries to merge content streams of this page to a single stream.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)


public bool MergeContentStreams()
Public Function MergeContentStreams As Boolean

Return Value

Type: Boolean
true if contents streams were merged; otherwise, false.


A content stream is a PDF stream object whose data consists of a sequence of instructions describing the graphical elements to be painted on a page. A PDF page may use a single content stream or a collection of content streams. In the latter case, merging of multiple content streams may help to reduce file size.

See Also