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: 20.1
public OoxmlCompliance Compliance { get; }

Property Value

Type: OoxmlCompliance

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

Shows how to get OOXML compliance version.
Document doc = new Document(MyDir + "Document.doc");

OoxmlCompliance compliance = doc.Compliance;
See Also