public PdfSettings Copy() { PdfSettings copy = new PdfSettings(); copy.CompressColorAndGray = CompressColorAndGray.Copy(); copy.CompressMonochrome = CompressMonochrome.Copy(); copy.Security = Security.Copy(); copy.Signature = Signature.Copy(); copy.ColorModel = ColorModel; copy.DocumentView = DocumentView; copy.PageOrientation = PageOrientation; copy.PageView = PageView; copy.ViewerStartsOnPage = ViewerStartsOnPage; return(copy); }