DocumentCompliance Property
Gets the OOXML compliance version determined from the loaded document content. Makes sense only for OOXML documents.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.9
Syntax
public OoxmlCompliance Compliance { get; }

Property Value

Type: OoxmlCompliance
Remarks

If you created a new blank document or load non OOXML document returns the Ecma376_2006 value.

Examples
Shows how to get OOXML compliance version.
[C#]

Document doc = new Document(MyDir + "Document.doc");

OoxmlCompliance compliance = doc.Compliance;
See Also