[]
        
(Showing Draft Content)

C1.C1Preview.Tag

Tag Class

Represents a user-defined tag.

Implements
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
[TypeConverter(typeof(Tag.TagConverter))]
public class Tag : TagBase, ICloneable

Constructors

Name Description
Tag(string)

Initializes a new instance of the Tag class with the specified name.

Tag(string, object)

Initializes a new instance of the Tag class with the specified name and value.

Tag(string, object, Type)

Initializes a new instance of the Tag class with the specified name, value and type.

Properties

Name Description
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.

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.)

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.

SerializeValue

Gets or sets a value indicating whether the Value of the current tag should be serialized. The default is true.

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.

Type

Gets or sets the current tag type.

Value

Gets or sets the current tag value.

Methods

Name Description
AssignFrom(NamedCollectionItem)

Copies the properties of the specified object to the current object.

SetName(string)

Sets the name of the current tag.