BodyProperties.Rotation 属性

定义

旋转

表示架构中的以下属性:rot

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

属性值

返回 Int32Value

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

指定要应用于边界框内文本的旋转。 如果未指定,则使用附带形状的旋转。 如果已指定,则独立于形状应用此值。 也就是说,除了对形状应用旋转的文本本身之外,还可以应用旋转。 如果省略此属性,则隐含 的值 0

请考虑形状的旋转为 5400000的情况,即顺时针旋转 90 度,应用于该形状。 除此之外,文本正文本身还应用了 5400000旋转(逆时针旋转 90 度)。 然后,生成的形状看起来是旋转的,但其中的文本看起来好像根本没有旋转。 指定此项的 DrawingML 如下所示:

<p:sp>  
  <p:spPr>  
    <a:xfrm rot="5400000">  
      …  
    </a:xfrm>  
  </p:spPr>  
  …  
  <p:txBody>  
    <a:bodyPr rot="-5400000" … />  
    …  
    (Some text)  
    …  
  </p:txBody>  
</p:sp>  

此属性的可能值由 ST_Angle 简单类型定义。

适用于