Formatting Class

Spotfire 14.3 API Reference
Represents formatting settings to be used when rendered. The settings can contain formatters for between 0 and 8 data types, namely Integer, Real, Currency, DateTime, LongInteger, SingleReal, TimeSpan and Boolean. In addition, for each data type a specific formatter can be set for a category or column, specified by a CategoryKey. This is referred to as "indexed".
Inheritance Hierarchy

SystemObject
  Node
    Spotfire.Dxp.Framework.DocumentModelDocumentNode
      Spotfire.Dxp.Application.VisualsFormatting

Namespace:  Spotfire.Dxp.Application.Visuals
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(7, 0)]
public sealed class Formatting : DocumentNode

The Formatting type exposes the following members.

Properties

  NameDescription
Public propertyBooleanFormatter
Gets or sets the TimeSpanFormatter used for the data type TimeSpan.
Public propertyContext
Gets the context of this node.
(Inherited from DocumentNode.)
Public propertyCurrencyFormatter
Gets or sets the NumberFormatter used for the data type Currency.
Public propertyDateTimeFormatter
Gets or sets the DateTimeFormatter used for the data types Date, Time and DateTime.
Public propertyIndexedBooleanFormatter
Gets the indexed BooleanFormatter used for the data type Boolean.
Public propertyIndexedCurrencyFormatter
Gets the indexed NumberFormatter used for the data type Currency.
Public propertyIndexedDateTimeFormatter
Gets the indexed DateTimeFormatter used for the data types Date, Time and DateTime.
Public propertyIndexedIntegerFormatter
Gets the indexed NumberFormatter used for the data type Integer.
Public propertyIndexedLongIntegerFormatter
Gets the indexed NumberFormatter used for the data type LongInteger.
Public propertyIndexedRealFormatter
Gets the indexed NumberFormatter used for the data type Real.
Public propertyIndexedSingleRealFormatter
Gets the indexed NumberFormatter used for the data type SingleReal.
Public propertyIndexedTimeSpanFormatter
Gets the indexed TimeSpanFormatter used for the data type TimeSpan.
Public propertyIntegerFormatter
Gets or sets the NumberFormatter used for the data type Integer.
Public propertyIsAttached
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.)
Public propertyLongIntegerFormatter
Gets or sets the NumberFormatter used for the data type LongInteger.
Public propertyRealFormatter
Gets or sets the NumberFormatter used for the data type Real.
Public propertySingleRealFormatter
Gets or sets the NumberFormatter used for the data type SingleReal.
Public propertyTimeSpanFormatter
Gets or sets the TimeSpanFormatter used for the data type TimeSpan.
Public propertyTransactions
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.)
Top
Methods

  NameDescription
Public methodClear
Clears all formatting settings for all data types, non-indexed as well as indexed.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodINodeContextGetAncestorT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextGetServiceT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextIsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsBeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction2
Implements ExecuteInvisibleTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction2
Implements ExecuteStickyTransaction(Guid, Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction2
Implements ExecuteTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference