[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMathStructCollection.AddFraction

AddFraction Method

AddFraction()

Adds a new OMathFraction to the collection at the End location.

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 collection at the End location.

Declaration
public OMathFraction AddFraction(string numeratorText, string denominatorText, OMathFractionType? fractionType)
Public Function AddFraction(numeratorText As String, denominatorText As String, fractionType As OMathFractionType?) As OMathFraction
Parameters
Type Name Description
string numeratorText

The structure numerator element text.

string denominatorText

The structure denominator element text.

OMathFractionType? fractionType

The fraction type.

Returns
Type Description
OMathFraction

The added OMathFraction instance.