Skip to main content
Skip table of contents

Meta

Meta Public class

Description

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

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text
  iTextSharp.text.Meta[[Meta]]
  iTextSharp.text.IElement[[IElement]]
  class iTextSharp.text.IElement interfaceStyle;
  end
iTextSharp.text.IElement --> iTextSharp.text.Meta

Members

Properties

Public properties
TypeNameMethods
IList<Chunk>Chunks
Gets all the chunks in this element.
get
stringContent
Returns the content of the meta information.
get
stringName
Returns the name of the meta information.
get
intType
Gets the type of the text element.
get

Methods

Public methods
ReturnsName
StringBuilderAppend(string str)
appends some text to this Meta.
boolIsContent()
boolIsNestable()
boolProcess(IElementListener listener)
Processes the element by adding it (or the different parts) to a
IElementListener.
stringToString()
Public Static methods
ReturnsName
intGetType(string tag)
Returns the name of the meta information.

Details

Summary

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

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.

Inheritance

Constructors

Meta [1/2]

Source code

public Meta(int type, string content)
Arguments
TypeNameDescription
inttypethe type of meta-information
stringcontentthe content
Summary

Constructs a Meta.

Meta [2/2]

Source code

public Meta(string tag, string content)
Arguments
TypeNameDescription
stringtagthe tagname of the meta-information
stringcontentthe content
Summary

Constructs a Meta.

Methods

Process

Source code

public virtual bool Process(IElementListener listener)
Arguments
TypeNameDescription
IElementListenerlistenerthe IElementListener
Summary

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

Returns

true if the element was processed successfully

IsContent

Source code

public virtual bool IsContent()
IsNestable

Source code

public virtual bool IsNestable()
Append

Source code

public virtual StringBuilder Append(string str)
Arguments
TypeNameDescription
stringstra string
Summary

appends some text to this Meta.

Returns

a StringBuilder

GetType

Source code

public static int GetType(string tag)
Arguments
TypeNameDescription
stringtagname to match
Summary

Returns the name of the meta information.

Returns

a string

ToString

Source code

public override string ToString()

Properties

Type
public virtual int Type { get; }
Summary

Gets the type of the text element.

Value

a type

Chunks
public virtual IList<Chunk> Chunks { get; }
Summary

Gets all the chunks in this element.

Value

an ArrayList

Content
public virtual string Content { get; }
Summary

Returns the content of the meta information.

Value

a string

Name
public virtual string Name { get; }
Summary

Returns the name of the meta information.

Value

a string

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.