SpreadsheetWatermarkBaseOptions
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.watermark.options.WatermarkOptions, com.groupdocs.watermark.options.SpreadsheetWatermarkOptions
public abstract class SpreadsheetWatermarkBaseOptions extends SpreadsheetWatermarkOptions
Base class for watermark adding options to a Spreadsheet document.
| Method | Description |
|---|---|
| isLocked() | Gets a value indicating whether an editing of the shape in Excel is forbidden. |
| setLocked(boolean value) | Sets a value indicating whether an editing of the shape in Excel is forbidden. |
| getName() | Gets the name a shape. |
| setName(String value) | Sets the name a shape. |
| getAlternativeText() | Gets the descriptive (alternative) text that will be associated with a shape. |
| setAlternativeText(String value) | Sets the descriptive (alternative) text that will be associated with a shape. |
public final boolean isLocked()
Gets a value indicating whether an editing of the shape in Excel is forbidden.
Returns: boolean - If the value is true, shape editing will be forbidden. By default, the value is false, the shape can be edited in Excel.
public final void setLocked(boolean value)
Sets a value indicating whether an editing of the shape in Excel is forbidden.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | If the value is true, shape editing will be forbidden. By default, the value is false, the shape can be edited in Excel. |
public final String getName()
Gets the name a shape.
Returns: java.lang.String - The shape name.
public final void setName(String value)
Sets the name a shape.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The shape name. |
public final String getAlternativeText()
Gets the descriptive (alternative) text that will be associated with a shape.
Returns: java.lang.String - The descriptive (alternative) text that will be associated with a shape.
public final void setAlternativeText(String value)
Sets the descriptive (alternative) text that will be associated with a shape.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The descriptive (alternative) text that will be associated with a shape. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.