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


DiscardImageEditData Class

Defines the DiscardImageEditData Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is p14:discardImageEditData.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.PowerPoint.DiscardImageEditData

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

Syntax

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

Remarks

2.3.17 discardImageEditData

Target namespace: https://schemas.microsoft.com/office/powerpoint/2007/7/12/main

A CT_DiscardImageEditData element that specifies that all imgProps elements ([MS-ODRAWXML] section 2.3.3) and cropped out areas of images are not to be saved. See section 2.2.7 for how this element integrates with ISO/IEC-29500:2008.

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

<xsd:element name="discardImageEditData" type="CT_DiscardImageEditData"/>

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

2.5.16 CT_DiscardImageEditData

Target namespace: https://schemas.microsoft.com/office/powerpoint/2007/7/12/main

Referenced by: discardImageEditData

A complex type that specifies whether to discard editing data for images when saving.

Attributes:

val : An xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether to discard image editing data when saving.

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

<xsd:complexType name="CT_DiscardImageEditData">

<xsd:attribute name="val" type="xsd:boolean" use="required"/>

</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

DiscardImageEditData Members

DocumentFormat.OpenXml.Office2010.PowerPoint Namespace