BodyProperties.UpRight Property

Text Upright.Represents the attribte in schema: upright

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

Syntax

'Declaration
<SchemaAttrAttribute(, "upright")> _
Public Property UpRight As BooleanValue
    Get
    Set
'Usage
Dim instance As BodyProperties
Dim value As BooleanValue

value = instance.UpRight

instance.UpRight = value
[SchemaAttrAttribute(, "upright")]
public BooleanValue UpRight { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies whether text should remain upright, regardless of the transform applied to it and the accompanying shape transform. If this attribute is omitted, then a value of 0, meaning false, will be implied.

Consider text that has been rotated within the text body but has the upright flag set.

<p:txBody>
  <a:bodyPr upright="1" rot="5400000" …/>
  …
  (Some text)
  …
</p:txBody>

This text will appear as though no transform has been applied to it.

The possible values for this attribute are defined by the XML Schema boolean data type.

See Also

Reference

BodyProperties Class

BodyProperties Members

DocumentFormat.OpenXml.Drawing Namespace