Share via


BodyProperties.UpRight Property

Definition

Text Upright

Represents the following attribute in the schema: upright

[DocumentFormat.OpenXml.SchemaAttr(0, "upright")]
public DocumentFormat.OpenXml.BooleanValue UpRight { get; set; }
public DocumentFormat.OpenXml.BooleanValue UpRight { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "upright")]
public DocumentFormat.OpenXml.BooleanValue? UpRight { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("upright")]
public DocumentFormat.OpenXml.BooleanValue? UpRight { get; set; }
public DocumentFormat.OpenXml.BooleanValue? UpRight { get; set; }
member this.UpRight : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "upright")>]
member this.UpRight : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("upright")>]
member this.UpRight : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property UpRight As BooleanValue

Property Value

Returns BooleanValue.

Attributes

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.

Applies to