Skip to content

# PDFPortfolioAttributeDefinition

Namespace: O2S.Components.PDF4NET.Portfolios

Represents the definition of a portfolio attribute.

    public class PDFPortfolioAttributeDefinition

Inheritance Object → PDFPortfolioAttributeDefinition

## Constructors

### PDFPortfolioAttributeDefinition()

Initializes a new PDFPortfolioAttributeDefinition object.

    public PDFPortfolioAttributeDefinition()

## Properties

### Editable

Gets or sets a value indicating whether the attribute value can be edited.

    public bool Editable { get; set; }

Property Value

Boolean
If true, the attribute value should be editable in the user interface.

### Name

Gets or sets the attribute definition name.

    public string Name { get; set; }

Property Value

String
The display name of the attribute definition

Exceptions

ArgumentNullException
Thrown when the property is set to null or an empty string.

Remarks

The attribute is displayed under this name in the user interface.

### Order

Gets or sets the attribute definition order.

    public int Order { get; set; }

Property Value

Int32
The relative order of the attribute definition name in the user interface.

Remarks

Attributes are sorted in ascending order in the user interface.

### Type

Gets or sets the attribute definition type.

    public PDFPortfolioAttributeDefinitionType Type { get; set; }

Property Value

PDFPortfolioAttributeDefinitionType
The type of this attribute definition.

Remarks

The value cannot be set to PDFPortfolioAttributeDefinitionType.NoType or PDFPortfolioAttributeDefinitionType.Unknown.

### Visible

Gets or sets the attribute definition visibility.

    public bool Visible { get; set; }

Property Value

Boolean
The initial visibility of the attribute definition in the user interface.