SpreadsheetWatermarkModernWordArtOptions
Contents
[
Hide
]
SpreadsheetWatermarkModernWordArtOptions class
Represents options when adding modern word art watermark to a Spreadsheet worksheet.
public sealed class SpreadsheetWatermarkModernWordArtOptions : SpreadsheetWatermarkBaseOptions
Constructors
Name | Description |
---|---|
SpreadsheetWatermarkModernWordArtOptions() | Initializes a new instance of the SpreadsheetWatermarkModernWordArtOptions class. |
Properties
Name | Description |
---|---|
AlternativeText { get; set; } | Gets or sets the descriptive (alternative) text that will be associated with a shape. |
IsLocked { get; set; } | Gets or sets a value indicating whether an editing of the shape in Excel is forbidden. |
Name { get; set; } | Gets or sets the name a shape. |
WorksheetIndex { get; set; } | Gets or sets the index of worksheet to add the watermark to. |
Remarks
Learn more:
Examples
Add modern WordArt watermark to an Excel document.
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
- class SpreadsheetWatermarkBaseOptions
- namespace GroupDocs.Watermark.Options.Spreadsheet
- assembly GroupDocs.Watermark