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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for