UseLocalDpi Class
Defines the UseLocalDpi Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is a14:useLocalDpi.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2010.Drawing.UseLocalDpi
Namespace: DocumentFormat.OpenXml.Office2010.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class UseLocalDpi _
Inherits OpenXmlLeafElement
'Usage
Dim instance As UseLocalDpi
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class UseLocalDpi : OpenXmlLeafElement
Remarks
2.3.4 useLocalDpi
Target namespace: https://schemas.microsoft.com/office/drawing/2007/7/7/main
Element of type: CT_UseLocalDpi
An extension list child element of: [ISO/IEC-29500-1] section 20.1.8.13 binary large image or picture (BLIP).
(see [ISO/IEC-29500-1] section 10.1.2 Office Open XML Native Extensibility Constructs)
Extension list Uri attribute: {28A0092B-C50C-407e-A947-70E740481C1C}
A CT_UseLocalDpi element that specifies a flag indicating that the local binary large image or picture (BLIP) compression setting overrides the document default compression setting.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="useLocalDpi" type="CT_UseLocalDpi"/>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.5.35 CT_UseLocalDpi
Target namespace: https://schemas.microsoft.com/office/drawing/2007/7/7/main
Referenced by: useLocalDpi
A complex type that specifies a flag indicating that the local binary large image or picture (BLIP) compression setting overrides the document default compression setting.
Attributes:
val : A boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the cstate attribute ([ISO/IEC-29500-1] section 20.1.10.12 ST_BlipCompression (Blip Compression Type) ) on the containing binary large image or picture (BLIP) overrides the document default compression setting as specified in [MS-PPTX] section 2.1.29, [MS-DOCX] section 2.3.34, and [MS-XLSX] section 2.6.20.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_UseLocalDpi">
<xsd:attribute name="val" type="xsd:boolean" use="optional" default="true"/>
</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.