ODF .NET Class Library
Show/Hide TOC

# Placeholder Class

Represents a placeholder field to indicate locations in a document where the user may insert content of a certain type.

## Definition

Namespace: Independentsoft.Office.Odf.Fields
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class Placeholder : Field

VB

    Public Class Placeholder
    	Inherits Field

Inheritance
  Object Field Placeholder

## Constructors

Placeholder | Initializes a new instance of the Placeholder class.

## Properties

Description | Contains the message that is displayed when users are prompted for input.
Type | Specifies the content type of a placeholder. This attribute is mandatory. The defined values are: -image: placeholder can be replaced by an image. -object: placeholder can be replaced by an object. -table: placeholder can be replaced by a table. -text: placeholder can be replaced by text. -text-box: placeholder can be replaced by a text-box.
Value | Contains placeholder.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements | Returns all content elements. (Overrides FieldGetContentElements)
GetHashCode | (Inherited from Object)
GetParent | Returns the parent element. (Inherited from Field)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current Placeholder object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Fields Namespace