Skip to main content

PlaceholderSettings Class

Gets or sets shape placeholder settings.

Declaration

public class PlaceholderSettings extends PresentationObject

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject

Constructors

PlaceholderSettings() Constructor

Initializes a new instance of the PlaceholderSettings class.

Declaration

public PlaceholderSettings()

PlaceholderSettings(PlaceholderType type, PlaceholderSize size, Direction orientation, boolean hasCustomPrompt, long index) Constructor

Initializes a new instance of the PlaceholderSettings class with specified settings.

Declaration

public PlaceholderSettings(PlaceholderType type, PlaceholderSize size, Direction orientation, boolean hasCustomPrompt, long index)

Parameters

Name Type Description
type PlaceholderType

The placeholder type.

size PlaceholderSize

The placeholder size.

orientation Direction

The placeholder orientation.

hasCustomPrompt boolean

true if the placeholder has a custom prompt; otherwise, false.

index long

The placeholder index.

Methods

deepClone() Method

Clones the current PlaceholderSettings instance.

Declaration

public PlaceholderSettings deepClone()

Returns

Type Description
PlaceholderSettings

The cloned PlaceholderSettings instance.

getHasCustomPrompt() Method

Indicates whether the placeholder has a custom prompt.

Declaration

public boolean getHasCustomPrompt()

Returns

Type Description
boolean

true if the placeholder has a custom prompt; otherwise, false.

getIndex() Method

Returns the placeholder’s numeric identifier within the slide/layout. You can use it to match placeholders between a master/layout and a slide.

Declaration

public long getIndex()

Returns

Type Description
long

The placeholder’s numeric identifier.

getOrientation() Method

Returns the placeholder orientation.

Declaration

public Direction getOrientation()

Returns

Type Description
Direction

The placeholder orientation.

getSize() Method

Returns the placeholder size.

Declaration

public PlaceholderSize getSize()

Returns

Type Description
PlaceholderSize

The placeholder size.

getType() Method

Returns the placeholder type.

Declaration

public PlaceholderType getType()

Returns

Type Description
PlaceholderType

The placeholder type.

setHasCustomPrompt(boolean value) Method

Indicates whether the placeholder has a custom prompt.

Declaration

public void setHasCustomPrompt(boolean value)

Parameters

Name Type Description
value boolean

true if the placeholder has a custom prompt; otherwise, false.

setIndex(long value) Method

Sets the placeholder’s numeric identifier within the slide/layout. You can use it to match placeholders between a master/layout and a slide.

Declaration

public void setIndex(long value)

Parameters

Name Type Description
value long

The placeholder’s numeric identifier.

setOrientation(Direction value) Method

Sets the placeholder orientation.

Declaration

public void setOrientation(Direction value)

Parameters

Name Type Description
value Direction

The placeholder orientation.

setSize(PlaceholderSize value) Method

Sets the placeholder size.

Declaration

public void setSize(PlaceholderSize value)

Parameters

Name Type Description
value PlaceholderSize

The placeholder size.

setType(PlaceholderType value) Method

Sets the placeholder type.

Declaration

public void setType(PlaceholderType value)

Parameters

Name Type Description
value PlaceholderType

The placeholder type.