[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMathStructCollection.InsertFraction

InsertFraction Method

InsertFraction(InsertLocation)

Inserts a new OMathFraction into the collection at the specified location.

Declaration
public OMathFraction InsertFraction(InsertLocation location)
Public Function InsertFraction(location As InsertLocation) As OMathFraction
Parameters
Type Name Description
InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
OMathFraction

The inserted OMathFraction instance.

InsertFraction(string, string, OMathFractionType?, InsertLocation)

Inserts a new OMathFraction into the collection at the specified location.

Declaration
public OMathFraction InsertFraction(string numeratorText, string denominatorText, OMathFractionType? fractionType, InsertLocation location)
Public Function InsertFraction(numeratorText As String, denominatorText As String, fractionType As OMathFractionType?, location As InsertLocation) 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, can be null.

InsertLocation location

The target InsertLocation for the insertion.

Returns
Type Description
OMathFraction

The inserted OMathFraction instance.