[]
        
(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()
Public Function AddFraction() As OMathFraction
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)
Public Function AddFraction(numeratorText As String, denominatorText As String, Optional fractionType As OMathFractionType? = Nothing) As OMathFraction
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.