The Tag type exposes the following members.

Constructors

  Name Description
Public method Tag(String)
Initializes a new instance of the Tag class with the specified name.
Public method Tag(String, Object)
Initializes a new instance of the Tag class with the specified name and value.
Public method Tag(String, Object, Type)
Initializes a new instance of the Tag class with the specified name, value and type.

Methods

  Name Description
Public method AssignFrom
Copies the properties of the specified object to the current object.
(Overrides NamedCollectionItem..::..AssignFrom(NamedCollectionItem).)
Protected method SetName
Sets the name of the current tag.
(Overrides NamedCollectionItem..::..SetName(String).)
Protected method SetNameInt
For internal use.
(Inherited from NamedCollectionItem.)

Properties

  Name Description
Public property Calculated
Gets or sets a value indicating whether the Value property contains a string with a script expression which must be evaluated when the tag is rendered.
Public property Description
Gets or sets the description of the tag. If not empty, used as the label in the tag input dialog. (If Description is empty, Name is shown in the input dialog instead.)
Public property Document
Gets the C1PrintDocument object containing the current tag. Can return null if the tag has not been added to a document.
(Inherited from TagBase.)
Public property InputParams
Gets or sets a TagInputParams object that is used by the tag input dialog to customize the editor for the current tag. By default, this property is null.
Public property Name
Gets or sets the unique name of the current object. If an item with the specified name already exists in the collection, an exception is thrown.
(Inherited from NamedCollectionItem.)
Public property Owner
Gets the NamedCollection containing the current object.
(Inherited from NamedCollectionItem.)
Public property SerializeValue
Gets or sets a value indicating whether the Value of the current tag should be serialized. The default is true.
Public property ShowInDialog
Gets or sets a value indicating whether to show the current tag and allow the user to edit its Value in the tags input dialog. The default is true.
Public property Type
Gets or sets the current tag type.
Public property Value
Gets or sets the current tag value.
(Overrides TagBase..::..Value.)

See Also