TextType.Space プロパティ

定義

スペース

スキーマ内の次の属性を表します: xml:space

[DocumentFormat.OpenXml.SchemaAttr(1, "space")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.SpaceProcessingModeValues> Space { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.SpaceProcessingModeValues> Space { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(1, "space")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.SpaceProcessingModeValues>? Space { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("xml:space")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.SpaceProcessingModeValues>? Space { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.SpaceProcessingModeValues>? Space { get; set; }
member this.Space : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.SpaceProcessingModeValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(1, "space")>]
member this.Space : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.SpaceProcessingModeValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("xml:space")>]
member this.Space : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.SpaceProcessingModeValues> with get, set
Public Property Space As EnumValue(Of SpaceProcessingModeValues)

プロパティ値

StringValue を返します。

属性

注釈

ECMA 国際 標準 ECMA-376 の次の情報は、このクラスを操作するときに役立ちます。

W3C スペース保持規則を使用して、この要素の内容に対して空白を処理する方法を指定します。

WordprocessingML ドキュメントに含まれる次の実行を検討してください。

<w:r>  
  <w:t>significant whitespace   </w:t>  
</w:r>  

実行内のテキスト コンテンツの両側には 3 つのスペースがありますが、その空白は特に重要としてマークされていません。 そのため、この実行がドキュメントに追加されると削除されます。

この属性に使用できる値は、名前空間の型によって定義されます。

適用対象