Compartir a través de


DoNotAutoCompressPictures Class

Do Not Automatically Compress Images.When the object is serialized out as xml, its qualified name is w:doNotAutoCompressPictures.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.DoNotAutoCompressPictures

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

Syntax

'Declaration
Public Class DoNotAutoCompressPictures _
    Inherits OnOffType
'Usage
Dim instance As DoNotAutoCompressPictures
public class DoNotAutoCompressPictures : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.1.33 doNotAutoCompressPictures (Do Not Automatically Compress Images)

This element specifies that pictures in this document shall not automatically be compressed when saving the document in order to reduce the overall size of the resulting WordprocessingML document.

If this element is omitted, applications can perform basic compression on images before saving the contents of the document.

[Example: Consider a WordprocessingML document which should never have its images compressed before they are saved. This requirement would be specified using the following WordprocessingML:

<w:doNotAutoCompressPictures w:val="true"/> 

The doNotAutoCompressPictures element's val attribute has a value of true specifying that images must not be automatically compressed when the document is saved. end example]

Parent Elements

settings (§17.15.1.78)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DoNotAutoCompressPictures Members

DocumentFormat.OpenXml.Wordprocessing Namespace