ODF .NET Class Library
Show/Hide TOC

# TemplateName Class

Represents a field that displays information about the document template in use.

## Definition

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

    public class TemplateName : Field

VB

    Public Class TemplateName
    	Inherits Field

Inheritance
  Object Field TemplateName

## Constructors

TemplateName | Initializes a new instance of the TemplateName class.

## Properties

DisplayType | Specifies the information about a document template to display. The defined values for the text:display attribute are: -area: The name of the directory where a template is found. The directory name may designate a class of templates. -full: full file name, extension and file path. -name: file name only. -name-and-extension: file name and extension. -path: file path only. -title: The title.
Value | Contains the template name.

## 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 TemplateName object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Fields Namespace