Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / OMathBox Class
Properties Methods

In This Topic
    OMathBox Class Members
    In This Topic

    The following tables list the members exposed by OMathBox.

    Public Properties
     NameDescription
    Public PropertyGets the OMathElement inside the abstract box.  
    Public PropertyGets or sets whether there is a line break at the start of the box, such that the line wraps at the start of the box.

    If property IsOperatorEmulator is set to false the value is always -1.

    Allowed values are from -1 to 255, inclusive.

    When the value is -1 the box does not manually break onto the next line.

    When the value is 0 the box manually breaks onto the next line and is aligned with the beginning of the previous line.

    When the value is greater than 0 the box manually breaks onto the next line and is aligned with the specified index of the operator on the previous line.

    Default value is -1.

     
    Public Property Gets the collection of the children of this content object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyGets the DocumentBase that contains this content object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyGets the Marker representing the end of this content object in the parent body. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public Property Gets the content unique identifier. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyGets or sets whether the operator emulator serves as an alignment point; that is, designated alignment points in other Office Math structures can be aligned with it.

    If the IsOperatorEmulator property is set to false the value of this property is always false.

    Default value is false.

     
    Public PropertyGets or sets whether the box acts as a differential (e.g., dx in an integrand), and receives the appropriate horizontal spacing for the mathematical differential.

    Default value is false.

     
    Public PropertyGets or sets whether the box structure and its contents behave as a single operator and inherit the properties of an Unicode operator character. Operator emulators are often used when one or more glyphs combine to form an operator, such as ==.

    Default value is false.

     
    Public Property Gets the nesting level of the structure in the Office Math zone. (Inherited from GrapeCity.Documents.Word.OMathStruct)
    Public PropertyGets the next OMathStruct in a collection. (Inherited from GrapeCity.Documents.Word.OMathStruct)
    Public PropertyGets or sets whether breaks can occur inside box.

    This can be important for operator emulators that consist of more than one binary operator.

    If the IsOperatorEmulator property is set to true the value of this property is always true.

    Default value is true.

     
    Public PropertyGets the parent Body of this content object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyGets the parent ContentObject of this content object. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyGets the parent OMathElement class instance (Inherited from GrapeCity.Documents.Word.OMathStruct)
    Public PropertyGets the parent OMath class instance. (Inherited from GrapeCity.Documents.Word.OMathStruct)
    Public PropertyGets the parent OMathStruct class instance. (Inherited from GrapeCity.Documents.Word.OMathStruct)
    Public PropertyGets the previous OMathStruct in a collection. (Inherited from GrapeCity.Documents.Word.OMathStruct)
    Public PropertyGets the Marker representing the start of this content object in the parent body. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public PropertyOverridden. Gets the OMathStructType of the structure.  
    Top
    Public Methods
     NameDescription
    Public MethodDeletes this content object from the parent Body.

    Note that the position occupied by this content object in the parent can still be accessed (e.g. to insert new content) via a PersistentRange if one has previously been created with GetPersistentRange.

    (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public Method Gets the collection of this content object's children of a specified type. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public MethodCreates and returns a PersistentRange associated with this content object.

    Unlike the Range returned by GetRange, this persistent range and any markers on it (see RangeBase.Start and RangeBase.End) can still be used if the object is deleted.

    Note that PersistentRange should be disposed when no longer needed to improve performance.

    (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public MethodCreates and returns a Range associated with this content object.

    To get a range that can be used after the object has been deleted, see GetPersistentRange.

    (Inherited from GrapeCity.Documents.Word.ContentObject)
    Public Method Gets string representation of the content. (Inherited from GrapeCity.Documents.Word.ContentObject)
    Top
    See Also