Skip to content

PdfContentStream.Clear Method

Clear()

Clears the entire content stream.

C#
public void Clear()

Remarks

This method clears the graphic content stream including any markers inserted by XFINIUM.PDF library that are required by the graphics API. After this method has been called only the methods in this class should be used to build the graphic content. Using the API in the PdfGraphics class will lead to undefined results.