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
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
() |
|
|
() |
|
|
(
listener)
|
|
|
() |
Public Static methods
|
Returns |
Name |
|---|---|
|
|
( |
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
|
Type |
Name |
Description |
|---|---|---|
|
|
type |
the type of meta-information |
|
|
content |
the content |
Summary
Constructs a Meta.
Meta [2/2]
Source code
public Meta(string tag, string content)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
tag |
the tagname of the meta-information |
|
|
content |
the content |
Summary
Constructs a Meta.
Methods
Process
Source code
public virtual bool Process(IElementListener listener)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
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
Source code
public virtual bool IsContent()
IsNestable
Source code
public virtual bool IsNestable()
Append
Source code
public virtual StringBuilder Append(string str)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
str |
a string |
Summary
appends some text to this Meta.
Returns
a StringBuilder
GetType
Source code
public static int GetType(string tag)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
tag |
name 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