Partager via


SmartTagProperties Class

Smart Tag Properties.When the object is serialized out as xml, its qualified name is x:smartTagPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.SmartTagProperties

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

Syntax

'Declaration
Public Class SmartTagProperties _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As SmartTagProperties
public class SmartTagProperties : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

18.2.21 smartTagPr (Smart Tag Properties)

This element defines a collection of smart tag properties that determine smart tag behavior in the workbook.

[Example:

<smartTagPr embed="1" show="noIndicator"/>

end example]

Parent Elements

workbook (§18.2.27)

Attributes

Description

embed (Embed SmartTags)

Specifies a boolean value that indicates whether the application saves smart tags with the workbook. Smart tag information is saved both in the workbook part and the sheet parts.

A value of 1 or true indicates the application saves smart tags with the workbook.

A value of 0 or false indicates the application does not save smart tags with the workbook.

The default value for this attribute is false.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

show (Show Smart Tags)

Specifies how the application displays smart tags in the user interface.

The default value for this attribute is "all."

The possible values for this attribute are defined by the ST_SmartTagShow simple type (§18.18.71).

[Note: The W3C XML Schema definition of this element’s content model (CT_SmartTagPr) is located in §A.2. 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.

See Also

Reference

SmartTagProperties Members

DocumentFormat.OpenXml.Spreadsheet Namespace