TextType.Space Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
space
Represents the following attribute in the schema: 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)
Property Value
Returns StringValue.
- Attributes
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies how white space should be handled for the contents of this element using the W3C space preservation rules.
Consider the following run contained within a WordprocessingML document:
<w:r>
<w:t>significant whitespace </w:t>
</w:r>
Although there are three spaces on each side of the text content in the run, that white space has not been specifically marked as significant. Therefore, it is removed when this run is added to the document.
The possible values for this attribute are defined by the type in the namespace.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應