DocumentProtection.Formatting Property

Only Allow Formatting With Unlocked Styles.Represents the attribte in schema: w:formatting

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

Syntax

'Declaration
<SchemaAttrAttribute(, "formatting")> _
Public Property Formatting As OnOffValue
    Get
    Set
'Usage
Dim instance As DocumentProtection
Dim value As OnOffValue

value = instance.Formatting

instance.Formatting = value
[SchemaAttrAttribute(, "formatting")]
public OnOffValue Formatting { get; set; }

Property Value

Type: DocumentFormat.OpenXml.OnOffValue
Returns EnumValue<T>.

See Also

Reference

DocumentProtection Class

DocumentProtection Members

DocumentFormat.OpenXml.Wordprocessing Namespace