Class WMath
Represents a mathMl element in a word document.
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Portable.dll
Syntax
public class WMath : ParagraphItem, IXDLSSerializable, IParagraphItem, IEntity, IOfficeRun, ILeafWidget, IWidget
Constructors
WMath(IWordDocument)
Initializes a new instance of the WMath class with the specified IWordDocument instance.
Declaration
public WMath(IWordDocument doc)
Parameters
Type | Name | Description |
---|---|---|
IWordDocument | doc | The IWordDocument instance. |
Properties
EntityType
Gets the type of the entity. Read-only.
Declaration
public override EntityType EntityType { get; }
Property Value
Type | Description |
---|---|
EntityType | The EntityType of the current item. |
Overrides
IsInline
Declaration
public bool IsInline { get; }
Property Value
Type |
---|
System.Boolean |
MathParagraph
Gets or sets the officemathpara that can be used to format a top level mathml element.
Declaration
public IOfficeMathParagraph MathParagraph { get; }
Property Value
Type |
---|
IOfficeMathParagraph |
Methods
ChangeToDisplay()
Changes the math element to display position
Declaration
public void ChangeToDisplay()
ChangeToInline()
Changes the math element to inline with text.
Declaration
public void ChangeToInline()
CloneImpl()
Creates a duplicate copy of the entity.
Declaration
protected override object CloneImpl()
Returns
Type | Description |
---|---|
System.Object | A reference to the newly created object. |
Overrides
CreateLayoutInfo()
Creates layout information for WMath
Declaration
protected override void CreateLayoutInfo()