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
Type | Name | Methods |
---|---|---|
IList <Chunk > | Chunks Gets all the chunks in this element. | get |
string | Content Returns the content of the meta information. | get |
string | Name Returns the name of the meta information. | get |
int | Type Gets the type of the text element. | get |
Methods
Public methods
Returns | Name |
---|---|
StringBuilder | Append (string str)appends some text to this Meta. |
bool | IsContent () |
bool | IsNestable () |
bool | Process (IElementListener listener)Processes the element by adding it (or the different parts) to a IElementListener. |
string | ToString () |
Public Static methods
Returns | Name |
---|---|
int | GetType (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]
public Meta(int type, string content)
Arguments
Type | Name | Description |
---|---|---|
int | type | the type of meta-information |
string | content | the content |
Summary
Constructs a Meta.
Meta [2/2]
public Meta(string tag, string content)
Arguments
Type | Name | Description |
---|---|---|
string | tag | the tagname of the meta-information |
string | content | the content |
Summary
Constructs a Meta.
Methods
Process
public virtual bool Process(IElementListener listener)
Arguments
Type | Name | Description |
---|---|---|
IElementListener | listener | the IElementListener |
Summary
Processes the element by adding it (or the different parts) to a IElementListener.
Returns
true if the element was processed successfully
IsContent
public virtual bool IsContent()
IsNestable
public virtual bool IsNestable()
Append
public virtual StringBuilder Append(string str)
Arguments
Type | Name | Description |
---|---|---|
string | str | a string |
Summary
appends some text to this Meta.
Returns
a StringBuilder
GetType
public static int GetType(string tag)
Arguments
Type | Name | Description |
---|---|---|
string | tag | name to match |
Summary
Returns the name of the meta information.
Returns
a string
ToString
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