QueryTable.PreserveFormatting Property

Preserve Formatting On Refresh.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 QueryTable
Dim value As BooleanValue

value = instance.PreserveFormatting

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

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

See Also

Reference

QueryTable Class

QueryTable Members

DocumentFormat.OpenXml.Spreadsheet Namespace