WordProcessingWatermarkPagesOptions Class |
Namespace: GroupDocs.Watermark.Options.WordProcessing
The WordProcessingWatermarkPagesOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | WordProcessingWatermarkPagesOptions |
Initializes a new instance of the WordProcessingWatermarkPagesOptions class.
|
Name | Description | |
---|---|---|
![]() | AlternativeText |
Gets or sets the descriptive (alternative) text that will be associated with a shape.
(Inherited from WordProcessingWatermarkBaseOptions.) |
![]() | Effects |
Gets or sets a value of WordProcessingImageEffects or
WordProcessingTextEffects for effects that should be applied to the watermark.
(Inherited from WordProcessingWatermarkBaseOptions.) |
![]() | IsLocked |
Gets or sets a value indicating whether an editing of the shape in Word is forbidden.
(Inherited from WordProcessingWatermarkBaseOptions.) |
![]() | LockType |
Gets or sets the watermark lock type.
(Inherited from WordProcessingWatermarkBaseOptions.) |
![]() | Name |
Gets or sets the name a shape.
(Inherited from WordProcessingWatermarkBaseOptions.) |
![]() | PageNumbers |
Gets or sets the page numbers to add the watermark.
|
![]() | Password |
Gets or sets a password used to lock the watermark.
(Inherited from WordProcessingWatermarkBaseOptions.) |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
WordProcessingLoadOptions loadOptions = new WordProcessingLoadOptions(); using (Watermarker watermarker = new Watermarker(@"D:\test.doc", loadOptions)) { TextWatermark watermark = new TextWatermark("text", new Font("Arial", 42)); WordProcessingWatermarkPagesOptions options = new WordProcessingWatermarkPagesOptions(); options.PageNumbers = new[] { 1 }; watermarker.Add(watermark, options); watermarker.Save(); }