DefaultImageDpi class

Office 2013 and later

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

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

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

No code example is currently available or this language may not be supported.

2.3.24 defaultImageDpi

Target namespace: http://schemas.microsoft.com/office/word/2010/wordml

This setting is ignored by images that have dots per inch (DPI) specified by useLocalDpi (as specified in [MS-ODRAWXML] section 2.3.2). This setting is also ignored when doNotAutoCompressPictures (as specified in [ISO/IEC-29500-1] section 17.15.1.33) is set to "true".

A CT_DefaultImageDpi element that specifies the resolution in dots per inch (DPI) at which images in the document will be saved. 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="defaultImageDpi" type="CT_DefaultImageDpi"/>

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

2.5.34 CT_DefaultImageDpi

Target namespace: http://schemas.microsoft.com/office/word/2010/wordml

Referenced by: defaultImageDpi

A complex type that specifies that default dots per inch (DPI) to be used to save each image in the document.

Attributes:

val: An ST_DecimalNumber (as specified in [ISO/IEC-29500-1] section 17.18.10) attribute that specifies the DPI at which the images in the document will be saved.

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="w:ST_DecimalNumber" use="required"/>

</xsd:complexType>

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

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