EmbeddedObject.DxaOriginal Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
dxaOrig
Represents the following attribute in the schema: w:dxaOrig
[DocumentFormat.OpenXml.SchemaAttr(23, "dxaOrig")]
public DocumentFormat.OpenXml.StringValue DxaOriginal { get; set; }
public DocumentFormat.OpenXml.StringValue DxaOriginal { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "dxaOrig")]
public DocumentFormat.OpenXml.StringValue? DxaOriginal { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:dxaOrig")]
public DocumentFormat.OpenXml.StringValue? DxaOriginal { get; set; }
public DocumentFormat.OpenXml.StringValue? DxaOriginal { get; set; }
member this.DxaOriginal : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "dxaOrig")>]
member this.DxaOriginal : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:dxaOrig")>]
member this.DxaOriginal : DocumentFormat.OpenXml.StringValue with get, set
Public Property DxaOriginal As StringValue
Property Value
Returns UInt64Value.
- Attributes
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies the original (natural) width of the image representation of the current control within the document. Some vector image formats do not store a native size within their format, and this attribute shall only be used in those cases to store this information, so that the image may be appropriately restored as needed.
If this element is excluded, then the natural size of the image as stored in its format shall be used.
Consider the following WordprocessingML for an embedded object:
<w:object w:dxaOrig="3360" w:dyaOrig="2520">
…
<v:shape … style="width:168pt;height:4in">
…
</v:shape>
<o:OLEObject … />
</w:object>
The dxaOrig
attribute has a value of 3360
, which specifies that the image used for the embedded object doesn't store its native width, but that width should be 3360 twentieths of a point.
The possible values for this attribute are defined by the ST_TwipsMeasure
simple type.