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
Meta(string, string)
Constructs a Meta.
public Meta(string tag, string content)
Parameters
Properties
Chunks
implementation of the Element-methods
public IList<Chunk> Chunks { get; }
Property Value
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
stringa string
Returns
- StringBuilder
a StringBuilder
GetType(string)
Returns the name of the meta information.
public static int GetType(string tag)
Parameters
tag
stringname to match
Returns
- int
a string
IsContent()
@see com.lowagie.text.Element#isContent() @since iText 2.0.8
public bool IsContent()
Returns
IsNestable()
@see com.lowagie.text.Element#isNestable() @since iText 2.0.8
public bool IsNestable()
Returns
Process(IElementListener)
Processes the element by adding it (or the different parts) to a IElementListener.
public bool Process(IElementListener listener)
Parameters
listener
IElementListenerthe IElementListener
Returns
- bool
true if the element was processed successfully