/// <summary> /// Replaces the current content of the page with the specified content sequence. /// </summary> public PdfContent ReplaceContent(CSequence cseq) { if (cseq == null) { throw new ArgumentNullException(nameof(cseq)); } return(ReplaceContent(cseq.ToContent())); }