Table of Contents

Class Meta

Namespace
iTextSharp.text
Assembly
iTextSharp.LGPLv2.Core.dll

This is an Element that contains some meta information about the document.

public class Meta : IElement
Inheritance
Meta
Implements
Derived
Inherited Members

Remarks

An object of type Meta can not be constructed by the user. Userdefined meta information should be placed in a Header-object. Meta is reserved for: Subject, Keywords, Author, Title, Producer and Creationdate information.

Constructors

Meta(int, string)

constructors

public Meta(int type, string content)

Parameters

type int

the type of meta-information

content string

the content

Meta(string, string)

Constructs a Meta.

public Meta(string tag, string content)

Parameters

tag string

the tagname of the meta-information

content string

the content

Properties

Chunks

implementation of the Element-methods

public IList<Chunk> Chunks { get; }

Property Value

IList<Chunk>

an ArrayList

Content

Returns the content of the meta information.

public string Content { get; }

Property Value

string

a string

Name

methods to retrieve information

public virtual string Name { get; }

Property Value

string

a string

Type

Gets the type of the text element.

public int Type { get; }

Property Value

int

a type

Methods

Append(string)

appends some text to this Meta.

public StringBuilder Append(string str)

Parameters

str string

a string

Returns

StringBuilder

a StringBuilder

GetType(string)

Returns the name of the meta information.

public static int GetType(string tag)

Parameters

tag string

name to match

Returns

int

a string

IsContent()

@see com.lowagie.text.Element#isContent() @since iText 2.0.8

public bool IsContent()

Returns

bool

IsNestable()

@see com.lowagie.text.Element#isNestable() @since iText 2.0.8

public bool IsNestable()

Returns

bool

Process(IElementListener)

Processes the element by adding it (or the different parts) to a IElementListener.

public bool Process(IElementListener listener)

Parameters

listener IElementListener

the IElementListener

Returns

bool

true if the element was processed successfully