Class WMath
Represents a mathMl element in a word document.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.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 | Description |
---|---|
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 | Description |
---|---|
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()