Accusoft.PdfXpressSdk Namespace > Document Class : AddWatermark Method |
Exception | Description |
---|---|
System.NullReferenceException | Thrown when the null reference is assigned to Text and ArtifactType is TextWatermark or when the null reference is assigned to SourceDocument and ArtifactType is SourceWatermark. |
This method adds a watermark from a Document object that contains a PDF that has been successfully opened into memory. The Document object calling this method must also contain a PDF that has been successfully opened into memory.