PresetTextWrap.Preset 属性

定义

预设扭曲形状

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

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

属性值

返回 EnumValue<T>

属性

注解

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

指定将用于文本上形状扭曲的预设几何图形。 此预设可以在 的枚举列表中 ST_TextShapeType具有任何值。 若要呈现文本扭曲,需要此属性。

请考虑下面的示例 DrawingML。

<p:sp>  
  <p:txBody>  
    <a:bodyPr wrap="none" rtlCol="0">  
      <a:prstTxWarp prst="textInflate">  
      </a:prstTxWarp>  
      <a:spAutoFit/>  
    </a:bodyPr>  
    <a:lstStyle/>  
    <a:p>  
    …  
      <a:t>Sample Text</a:t>  
    …   
    </a:p>  
  </p:txBody>  
</p:sp>  

在上面的示例中,已使用预设文本形状几何图形来定义扭曲形状。 此处使用的形状是太阳形状。

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

适用于