Accusoft.PdfXpressSdk Namespace > Document Class : AddWatermark Method |
'Declaration Public Sub AddWatermark( _ ByVal options As PageArtifactOptions _ )
'Usage Dim instance As Document Dim options As PageArtifactOptions instance.AddWatermark(options)
public void AddWatermark( PageArtifactOptions options )
public: void AddWatermark( PageArtifactOptions* options )
public: void AddWatermark( PageArtifactOptions^ options )
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.