PresetTextWrap.Preset プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プリセットワープシェイプ
スキーマ内の次の属性を表します。
[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
定義されます。