Share via


StatusText.Type Property

Status Text Type.Represents the attribte in schema: w:type

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

Syntax

'Declaration
<SchemaAttrAttribute(, "type")> _
Public Property Type As EnumValue(Of InfoTextValues)
    Get
    Set
'Usage
Dim instance As StatusText
Dim value As EnumValue(Of InfoTextValues)

value = instance.Type

instance.Type = value
[SchemaAttrAttribute(, "type")]
public EnumValue<InfoTextValues> Type { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<InfoTextValues>
Returns EnumValue<T>.

Remarks

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

Specifies the type of status text which is specified by this element, defined by the simple type below.

If this attribute is omitted, then its value shall be assumed to be text.

Consider the following WordprocessingML fragment for a form field:

<w:ffData>
  <w:statusText w:type="text" w:val="Example status text." />
</w:ffData>

The type attribute has a value of text, which specifies that the text in the val attribute is the literal status text for this form field.

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

See Also

Reference

StatusText Class

StatusText Members

DocumentFormat.OpenXml.Wordprocessing Namespace