共用方式為


ArgumentSize.Val Property

Value.Represents the attribte in schema: m:val

Namespace:  DocumentFormat.OpenXml.Math
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As IntegerValue
    Get
    Set
'Usage
Dim instance As ArgumentSize
Dim value As IntegerValue

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public IntegerValue Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.IntegerValue
Returns Int32Value.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies a value between -2 and 2 for the property defined by the parent XML element. The positive or negative sign specifies in which direction to change argument size; the absolute value specifies by how much.

The table below represents two cases in which argument size can be changed: superscripts and boxes.

In the superscript object Cc817938.38fc7146-515b-426a-9a7f-60f505ec5c4a(en-us,office.14).png, by default the term has script-script size. If the user wants to see Cc817938.8190b077-c7c1-4e75-9edd-f606151c02d9(en-us,office.14).png at script size, he or she should set the val to +1 (that is, one size larger). If the user wants to see Cc817938.8190b077-c7c1-4e75-9edd-f606151c02d9(en-us,office.14).png at text size, he or she should set the val to +2 (that is, two sizes larger).

val of Cc817938.2bdcda11-f644-4cd4-b768-2e867e2e4af0(en-us,office.14).png in Cc817938.b2022665-c0c9-4667-b0cd-f446584703f0(en-us,office.14).png

Display

Default

Cc817938.38fc7146-515b-426a-9a7f-60f505ec5c4a(en-us,office.14).png

+1

Cc817938.63cfaa32-796a-4a00-88e5-63faeac178f6(en-us,office.14).png

+2

Cc817938.fac415ec-4389-4314-8790-9aba2872d648(en-us,office.14).png

val of Cc817938.5edc14af-5fd4-4264-9ed4-2eff526d57e0(en-us,office.14).png

Display

Default

Cc817938.0f764e4b-604b-418e-82aa-47569c7c133f(en-us,office.14).png

-1

Cc817938.e3af5f4a-cb55-4e73-b2da-31259c6fb35b(en-us,office.14).png

-2

Cc817938.0cd8f464-dfbf-4895-8c43-c6d1d5f4d3cc(en-us,office.14).png

The possible values for this attribute are defined by the ST_Integer2 simple type.

See Also

Reference

ArgumentSize Class

ArgumentSize Members

DocumentFormat.OpenXml.Math Namespace