BodyProperties.VerticalOverflow 属性

定义

文本垂直溢出

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

[DocumentFormat.OpenXml.SchemaAttr(0, "vertOverflow")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalOverflowValues> VerticalOverflow { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalOverflowValues> VerticalOverflow { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "vertOverflow")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalOverflowValues>? VerticalOverflow { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("vertOverflow")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalOverflowValues>? VerticalOverflow { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalOverflowValues>? VerticalOverflow { get; set; }
member this.VerticalOverflow : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalOverflowValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "vertOverflow")>]
member this.VerticalOverflow : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalOverflowValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("vertOverflow")>]
member this.VerticalOverflow : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalOverflowValues> with get, set
Public Property VerticalOverflow As EnumValue(Of TextVerticalOverflowValues)

属性值

返回 EnumValue<T>

属性

注解

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

确定文本是否可以垂直流出边界框。 这用于确定形状中的文本对于它所包含的边界框太大时会发生什么情况。 如果省略此属性,则隐含 的值 overflow

请考虑以下情况:在形状中有乘段落,第二个段落会导致文本在形状外流动。 通过将 属性的值vertOverflow作为正文属性应用clip,此溢出的文本现在将被切断,而不是扩展到形状的边界之外。

<p:txBody>  
  <a:bodyPr vertOverflow="clip" … />  
  …  
  <a:p>  
    …  
    (Some text)  
    …  
  </a:p>  
  <a:p>  
    …  
    (Some longer text)  
    …  
  </a:p>  
</p:txBody>  

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

适用于