SpreadsheetWatermarkModernWordArtOptions Class
Represents options when adding modern word art watermark to a Spreadsheet worksheet.
Inheritance Hierarchy

Namespace: GroupDocs.Watermark.Options.Spreadsheet
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 20.7.0
Syntax
public sealed class SpreadsheetWatermarkModernWordArtOptions : SpreadsheetWatermarkBaseOptions

The SpreadsheetWatermarkModernWordArtOptions type exposes the following members.

Constructors
  NameDescription
Public methodSpreadsheetWatermarkModernWordArtOptions
Initializes a new instance of the SpreadsheetWatermarkModernWordArtOptions class.
Properties
  NameDescription
Public propertyAlternativeText
Gets or sets the descriptive (alternative) text that will be associated with a shape.
(Inherited from SpreadsheetWatermarkBaseOptions.)
Public propertyIsLocked
Gets or sets a value indicating whether an editing of the shape in Excel is forbidden.
(Inherited from SpreadsheetWatermarkBaseOptions.)
Public propertyName
Gets or sets the name a shape.
(Inherited from SpreadsheetWatermarkBaseOptions.)
Public propertyWorksheetIndex
Gets or sets the index of worksheet to add the watermark to.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Remarks
Examples
Add modern WordArt watermark to an Excel document.
C#
SpreadsheetLoadOptions loadOptions = new SpreadsheetLoadOptions();
using (Watermarker watermarker = new Watermarker(@"C:\Documents\test.xls", loadOptions))
{
    TextWatermark watermark = new TextWatermark("Test watermark", new Font("Arial", 36));

    SpreadsheetWatermarkModernWordArtOptions options = new SpreadsheetWatermarkModernWordArtOptions();
    options.WorksheetIndex = -1; // default
    options.IsLocked = false; // default

    watermarker.Add(watermark, options);
    watermarker.Save();
}
See Also