IRegionWithMath Interface

Encapsulates methods and properties for the document element with support of math calculations.

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.73.9126.0
C#
public interface IRegionWithMath : IEvaluableObject, 
	IDocumentObject, IEvaluable
Implements
IDocumentObject, IEvaluable, IEvaluableObject

Properties

CurrentCollapsedHeight Height of the document collapsed area before current document element.
(Inherited from IDocumentObject)
CurrentMetaContext Gets or sets variables to use for document fields in the context of current document.
(Inherited from IDocumentObject)
CurrentPageOffsets Offsets of the current document page where the document element is present.
(Inherited from IDocumentObject)
Evaluable Determines whether the document element can be evaluated or not.
(Inherited from IEvaluable)
Focused Determines whether the element is in the editing mode or not. If true, the element is highlighted with a frame and gets the right to place the cursor in it. The frame color is determined by the relevance of the element's information (InDate property).
(Inherited from IDocumentObject)
IgnoreUnits Determines whether the current region ignores units of measurement during calculation.
IsActivated Determines whether the document element is activated and registered on the worksheet.
(Inherited from IDocumentObject)
IsSpecCharsMode Determines whether the current region is in Special Characters mode, when unicode chars are written into the equation part name.
LastStore Reference to the calculation context instance used last time during document evaluation.
Location Location of the document element.
(Inherited from IDocumentObject)
Rename Determines whether the current region is in Multiple Rename mode, when several equation parts are edited simultaneously.
Selected Determines whether the document element is selected within the Worksheet.
(Inherited from IDocumentObject)
Size Size of the document element.
(Inherited from IDocumentObject)
TermChangingIndex Determines mathematical expression entry which contains a cursor.

Methods

Draw Draws a document element on the given canvas with a specified model of page.
(Inherited from IDocumentObject)
GetSelectedItems Returns selected part of the math equation.
GetSideElements Returns the part of mathematical expression where current cursor is located against to the "equal to" operator.
SetSpecCharsMode Toggles Special Characters mode of the region based on the given value. The IsSpecCharsMode property can be used to detect current state of this mode.
SetTermText Sets the text of the currently selected mathematical entry in the current document element.
StartRename Turns Multiple Rename mode of the region on. The Rename property can be used to detect current state of this mode.
StopRename Turns Multiple Rename mode of the region off. The Rename property can be used to detect current state of this mode.
TryConvertToText Attempts to convert a given text to an appropriate text region.
Update Update a math region with a given answer.

See Also