NoLeading Class
Do Not Add Leading Between Lines of Text.When the object is serialized out as xml, its qualified name is w:noLeading.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.NoLeading
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public Class NoLeading _
Inherits OnOffType
'Uso
Dim instance As NoLeading
public class NoLeading : OnOffType
Remarks
[ISO/IEC 29500-1 1ª edición]
9.7.3.29 noLeading (Do Not Add Leading Between Lines of Text)
This element specifies whether the additional leading specified by the current font face shall be added between each line of text when that text is displayed. Leading refers to the additional spacing requested by a particular font in order to ensure that letters on subsequent lines do not display in a fashion where they are positioned too closely together.
Typically, leading should be added as specified by the associated font. This element, when present with a val attribute value of true (or equivalent), specifies that the additional leading specified by the font shall never be output when the text is displayed.
[Example: Consider a WordprocessingML document with three lines of text. The default presentation would have the text displayed as follows:
However, if this compatibility setting is turned on:
<w:compat>
<w:noLeading />
</w:compat>
Then no leading is added between lines, resulting in the following output:
This adjustment is usually very minute in nature; therefore the result is better illustrated by showing how the characters were pushed out due to the leading added to that text:
end example]
Parent Elements |
---|
compat (Part 1, §17.15.1.21) |
This element's content model is defined by the common boolean property definition in Part 1, §17.17.4.
© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.