Freigeben über


EmbeddedObject.DxaOriginal-Eigenschaft

dxaOrig.Represents the attribte in schema: w:dxaOrig

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "dxaOrig")> _
Public Property DxaOriginal As StringValue
    Get
    Set
'Usage
Dim instance As EmbeddedObject
Dim value As StringValue

value = instance.DxaOriginal

instance.DxaOriginal = value
[SchemaAttrAttribute(, "dxaOrig")]
public StringValue DxaOriginal { get; set; }

Eigenschaftswert

Typ: DocumentFormat.OpenXml.StringValue
Returns UInt64Value.

Hinweise

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.

Siehe auch

Referenz

EmbeddedObject Klasse

EmbeddedObject-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace