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 PDF4NET 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 PDFCanvas class will lead to undefined results.