Share via


EmbeddedObject.DyaOriginal Property

Definition

dyaOrig

Represents the following attribute in the schema: w:dyaOrig

[DocumentFormat.OpenXml.SchemaAttr(23, "dyaOrig")]
public DocumentFormat.OpenXml.StringValue DyaOriginal { get; set; }
public DocumentFormat.OpenXml.StringValue DyaOriginal { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "dyaOrig")]
public DocumentFormat.OpenXml.StringValue? DyaOriginal { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:dyaOrig")]
public DocumentFormat.OpenXml.StringValue? DyaOriginal { get; set; }
public DocumentFormat.OpenXml.StringValue? DyaOriginal { get; set; }
member this.DyaOriginal : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "dyaOrig")>]
member this.DyaOriginal : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:dyaOrig")>]
member this.DyaOriginal : DocumentFormat.OpenXml.StringValue with get, set
Public Property DyaOriginal 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) height 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 dyaOrig attribute has a value of 2520, which specifies that the image used for the embedded object doesn't store its native height, but that height should be 2520 twentieths of a point.

The possible values for this attribute are defined by the ST_TwipsMeasure simple type.

Applies to