[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMath.AddSimpleField

AddSimpleField Method

AddSimpleField(string)

Adds a SimpleField to the end of the Office Math zone.

Declaration
public SimpleField AddSimpleField(string code)
Public Function AddSimpleField(code As String) As SimpleField
Parameters
Type Name Description
string code

The field code.

Returns
Type Description
SimpleField

The added SimpleField.

AddSimpleField(string, string)

Adds a SimpleField to the end of the Office Math zone.

Declaration
public SimpleField AddSimpleField(string code, string result)
Public Function AddSimpleField(code As String, result As String) As SimpleField
Parameters
Type Name Description
string code

The field code.

string result

The result text of the inserted field.

Returns
Type Description
SimpleField

The added SimpleField.