Поделиться через


DiscardImageEditingData Class

Defines the DiscardImageEditingData Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:discardImageEditingData.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Word.OnOffType
        DocumentFormat.OpenXml.Office2010.Word.DiscardImageEditingData

Namespace:  DocumentFormat.OpenXml.Office2010.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class DiscardImageEditingData _
    Inherits OnOffType
'Usage
Dim instance As DiscardImageEditingData
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class DiscardImageEditingData : OnOffType

Remarks

2.3.19 discardImageEditingData

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

A CT_OnOff element that specifies that when true, the cropped out areas of the images are not to be saved and the images saved should be the result of applying imgProps (as specified in [MS-ODRAWXML] §2.3.3) on the original images. See section 2.2.2 for how this element integrates with ISO/IEC-29500-1.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="discardImageEditingData" type="CT_OnOff"/>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.2 CT_OnOff

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: CT_SdtCheckbox, conflictMode, discardImageEditingData, cntxtAlts

Specifies a value for a Boolean (true or false) property.

Attributes:

val : An optional ST_OnOff attribute that specifies the value of the property. By default, the value is true.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_OnOff">

<xsd:attribute name="val" type="ST_OnOff"/>

</xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

DiscardImageEditingData Members

DocumentFormat.OpenXml.Office2010.Word Namespace