• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class Placeholder

Represents a placeholder on a shape, defining the slot the shape fills in a slide layout (title, body, subtitle, etc.). Maps to the OOXML p:ph element.

Inheritance
object
Placeholder
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class Placeholder

Constructors

Placeholder()

Initializes a new instance of the Placeholder class.

Declaration
public Placeholder()

Placeholder(PlaceholderType)

Initializes a new instance with the specified placeholder type.

Declaration
public Placeholder(PlaceholderType type)
Parameters
Type Name Description
PlaceholderType type

The placeholder type (title, body, etc.).

Properties

HasCustomPrompt

Gets or sets whether the placeholder has a custom prompt.

Declaration
public bool? HasCustomPrompt { get; set; }
Property Value
Type Description
bool?

HasIndex

Gets or sets whether the placeholder index is explicitly set.

Declaration
public bool HasIndex { get; set; }
Property Value
Type Description
bool

HasOrientation

Gets or sets whether the orientation is explicitly set.

Declaration
public bool HasOrientation { get; set; }
Property Value
Type Description
bool

HasSize

Gets or sets whether the placeholder has an explicit size.

Declaration
public bool HasSize { get; set; }
Property Value
Type Description
bool

HasType

Gets or sets whether the placeholder has an explicit type. When false, the placeholder inherits its type from the layout.

Declaration
public bool HasType { get; set; }
Property Value
Type Description
bool

Index

Gets or sets the placeholder index, used to match placeholders between a slide and its layout.

Declaration
public uint Index { get; set; }
Property Value
Type Description
uint

Orientation

Gets or sets the orientation of the placeholder (horizontal or vertical).

Declaration
public Direction Orientation { get; set; }
Property Value
Type Description
Direction

Size

Gets or sets the placeholder size (full, half, or quarter).

Declaration
public PlaceholderSize Size { get; set; }
Property Value
Type Description
PlaceholderSize

Type

Gets or sets the placeholder type (title, body, subtitle, etc.).

Declaration
public PlaceholderType Type { get; set; }
Property Value
Type Description
PlaceholderType
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX