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 w14:defaultImageDpi.
Inheritance Hierarchy
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)
Syntax
'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class DefaultImageDpi _
Inherits OpenXmlLeafElement
'Usage
Dim instance As DefaultImageDpi
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class DefaultImageDpi : OpenXmlLeafElement
Remarks
2.3.20 defaultImageDpi
Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml
This setting is ignored by images that have dots per inch (DPI) specified by useLocalDpi, as specified in [MS-ODRAWXML] §2.3.4. This setting is also ignored when doNotAutoCompressPictures as specified in [ISO/IEC-29500-1] §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: https://schemas.microsoft.com/office/word/2009/2/wordml
Referenced by: defaultImageDpi
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] §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).
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.