PresentationShapeSettings

Inheritance: java.lang.Object, com.groupdocs.watermark.contents.OfficeShapeSettings

public final class PresentationShapeSettings extends OfficeShapeSettings

Represents settings that can be applied to a shape watermark for a PowerPoint document.

Constructors

Constructor Description
PresentationShapeSettings() Initializes a new instance of the [PresentationShapeSettings](../../com.groupdocs.watermark.contents/presentationshapesettings) class.

Fields

Field Description
UnreadableCharacter

Methods

Method Description
isLocked() Gets a value indicating whether an editing of the shape in PowerPoint is forbidden.
setLocked(boolean value) Sets a value indicating whether an editing of the shape in PowerPoint is forbidden.
getProtectWithUnreadableCharacters() Gets a value indicating whether the text watermark characters are mixed with unreadable characters.
setProtectWithUnreadableCharacters(boolean value) Sets a value indicating whether the text watermark characters are mixed with unreadable characters.

PresentationShapeSettings()

public PresentationShapeSettings()

Initializes a new instance of the [PresentationShapeSettings](../../com.groupdocs.watermark.contents/presentationshapesettings) class.

UnreadableCharacter

public static final char UnreadableCharacter

isLocked()

public final boolean isLocked()

Gets a value indicating whether an editing of the shape in PowerPoint is forbidden.

Returns: boolean - true if shape editing is forbidden, false if the shape can be edited in PowerPoint.

setLocked(boolean value)

public final void setLocked(boolean value)

Sets a value indicating whether an editing of the shape in PowerPoint is forbidden.

Parameters:

Parameter Type Description
value boolean true if shape editing should be forbidden, false if the shape can be edited in PowerPoint.

getProtectWithUnreadableCharacters()

public final boolean getProtectWithUnreadableCharacters()

Gets a value indicating whether the text watermark characters are mixed with unreadable characters.

This protection applies only when the #isLocked().isLocked() returns true.

Returns: boolean - A value indicating whether the text watermark characters are mixed with unreadable characters.

setProtectWithUnreadableCharacters(boolean value)

public final void setProtectWithUnreadableCharacters(boolean value)

Sets a value indicating whether the text watermark characters are mixed with unreadable characters.

This protection applies only when the #isLocked().isLocked() returns true.

Parameters:

Parameter Type Description
value boolean A value indicating whether the text watermark characters are mixed with unreadable characters.