PlaceholderSettings Class
Gets or sets shape placeholder settings.
Declaration
public class PlaceholderSettings extends PresentationObject
Inherited Members
Inheritance
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 |
|
| index | long | The placeholder index. |
Methods
deepClone() Method
Clones the current PlaceholderSettings instance.
Declaration
public PlaceholderSettings deepClone()
Returns
| Type | Description |
|---|---|
PlaceholderSettings |
The cloned |
getHasCustomPrompt() Method
Indicates whether the placeholder has a custom prompt.
Declaration
public boolean getHasCustomPrompt()
Returns
| Type | Description |
|---|---|
| boolean |
|
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 |
|
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. |