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


DefaultImageDpi Class

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

Inheritance Hierarchy

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

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

Syntax

'Декларация
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class DefaultImageDpi _
    Inherits OpenXmlLeafElement
'Применение
Dim instance As DefaultImageDpi
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class DefaultImageDpi : OpenXmlLeafElement

Remarks

2.3.16 defaultImageDpi

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

A CT_DefaultImageDpi element that specifies the resolution in dots per inch (dpi) to use when saving images in the document, when the autoCompressPictures attribute ([ISO/IEC-29500-1] section 19.2.1.26) is true and useLocalDpi element ( [MS-ODRAWXML] section 2.3.4) is false. 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="defaultImageDpi" type="CT_DefaultImageDpi"/>

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

2.5.15 CT_DefaultImageDpi

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

Referenced by: defaultImageDpi

A complex type that specifies the default dpi to use when saving each image in the document.

Attributes:

val : An xsd:unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the dpi.

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

<xsd:complexType name="CT_DefaultImageDpi">

<xsd:attribute name="val" type="xsd:unsignedInt" 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

DefaultImageDpi Members

DocumentFormat.OpenXml.Office2010.PowerPoint Namespace