Share via


PivotTableDefinition.PreserveFormatting Property

Preserve Formatting.Represents the attribte in schema: preserveFormatting

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "preserveFormatting")> _
Public Property PreserveFormatting As BooleanValue
    Get
    Set
'Usage
Dim instance As PivotTableDefinition
Dim value As BooleanValue

value = instance.PreserveFormatting

instance.PreserveFormatting = value
[SchemaAttrAttribute(, "preserveFormatting")]
public BooleanValue PreserveFormatting { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue

See Also

Reference

PivotTableDefinition Class

PivotTableDefinition Members

DocumentFormat.OpenXml.Spreadsheet Namespace