BodyProperties.VerticalOverflow Property

Definition

Text Vertical Overflow

Represents the following attribute in the schema: 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)

Property Value

Returns EnumValue<T>.

Attributes

Remarks

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

Determines whether the text can flow out of the bounding box vertically. This is used to determine what will happen in the event that the text within a shape is too large for the bounding box it is contained within. If this attribute is omitted, then a value of overflow is implied.

Consider the case where we have multiply paragraphs within a shape and the second causes text to flow outside the shape. By applying the clip value of the vertOverflow attribute as a body property this overflowing text will now be cut off instead of extending beyond the bounds of the shape.

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

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

Applies to