BulletSizePercentage Class
Bullet Size Percentage.When the object is serialized out as xml, its qualified name is a:buSzPct.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Drawing.BulletSizePercentage
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class BulletSizePercentage _
Inherits OpenXmlLeafElement
'Usage
Dim instance As BulletSizePercentage
public class BulletSizePercentage : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 1st Edition]
21.1.2.4.9 buSzPct (Bullet Size Percentage)
This element specifies the size in percentage of the surrounding text to be used on bullet characters within a given paragraph. The size is specified using a percentage where 1000 is equal to 1 percent of the font size and 100000 is equal to 100 percent font of the font size.
[Example: Consider the DrawingML shown below.
<p:txBody> … <a:p> <a:pPr …> <a:buSzPct val="111000"/> </a:pPr> … <a:t>Bullet 1</a:t> … </a:p> … </p:txBody>
The size of the above bullet follows the text size in that it is always rendered at 111% the size of the text within the given text run. This is specified by val="111000", with a restriction on the values not being less than 25% or more than 400%. A value of 100000 is equal to 100%, similarly a value of 1000 is equal to 1%. This percentage size should only apply to the actual bullet character and not to the text within the bullet. end example]
Parent Elements |
---|
defPPr (§21.1.2.2.2); lvl1pPr (§21.1.2.4.13); lvl2pPr (§21.1.2.4.14); lvl3pPr (§21.1.2.4.15); lvl4pPr (§21.1.2.4.16); lvl5pPr (§21.1.2.4.17); lvl6pPr (§21.1.2.4.18); lvl7pPr (§21.1.2.4.19); lvl8pPr (§21.1.2.4.20); lvl9pPr (§21.1.2.4.21); pPr (§21.1.2.2.7) |
Attributes |
Description |
---|---|
val (Value) |
Specifies the percentage of the text size that this bullet should be. It is specified here in terms of 100% being equal to 100000 and 1% being specified in increments of 1000. This attribute should not be lower than 25%, or 25000 and not be higher than 400%, or 400000. The possible values for this attribute are defined by the ST_TextBulletSizePercent simple type (§20.1.10.62). |
[Note: The W3C XML Schema definition of this element’s content model (CT_TextBulletSizePercent) is located in §A.4.1. end note]
© ISO/IEC29500: 2008.
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.