[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMath.AddFraction

AddFraction Method

AddFraction()

Adds a new OMathFraction to the end of the Office Math zone.

Declaration
public OMathFraction AddFraction()
Returns
Type Description
OMathFraction

The added OMathFraction instance.

AddFraction(string, string, OMathFractionType?)

Adds a new OMathFraction to the end of the Office Math zone.

Declaration
public OMathFraction AddFraction(string numeratorText, string denominatorText, OMathFractionType? fractionType = null)
Parameters
Type Name Description
string numeratorText

The numerator element text.

string denominatorText

The denominator element text.

OMathFractionType? fractionType

The fraction type.

Returns
Type Description
OMathFraction

The added OMathFraction instance.