共用方式為


TableCellProperties.HorizontalOverflow Property

Definition

Horizontal Overflow

Represents the following attribute in the schema: horzOverflow

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

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.

Specifies the clipping behavior of the cell. The two options here allow for the text to be clipped and out of view when outside of the bounds of the cell, or for the text to remain visible and overflow outside of the cell.

Consider the following example:

<a:tcPr horzOverflow="overflow">  
…  
</a:tcPr>  

In this example, the text in the cell will freely overflow outside of the cell boundaries and will always remain visible.

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

Applies to