BodyProperties.FromWordArt Property

From WordArt.Represents the attribte in schema: fromWordArt

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

Syntax

'Declaration
<SchemaAttrAttribute(, "fromWordArt")> _
Public Property FromWordArt As BooleanValue
    Get
    Set
'Usage
Dim instance As BodyProperties
Dim value As BooleanValue

value = instance.FromWordArt

instance.FromWordArt = value
[SchemaAttrAttribute(, "fromWordArt")]
public BooleanValue FromWordArt { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

Remarks

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

Specifies that text within this textbox is converted text from a WordArt object. This is more of a backwards compatibility attribute that is useful to the application from a tracking perspective. WordArt was the former way to apply text effects and therefore this attribute is useful in document conversion scenarios. If this attribute is omitted, then a value of 0, meaning off, is implied.

Consider the following DrawingML:

<p:txBody>
  <a:bodyPr wrap="none" fromWordArt="1" … 
  />
  …
</p:txBody>

Because of the presence of the fromWordArt attribute the text within this shape can be mapped back to the corresponding WordArt during document conversion.

The possible values for this attribute are defined by the XML Schema boolean data type.

See Also

Reference

BodyProperties Class

BodyProperties Members

DocumentFormat.OpenXml.Drawing Namespace