[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OMathPhantom

OMathPhantom Class

Represents a phantom Office Math structure.

This structure has two primary uses: adding the spacing of the phantom base element without displaying that base; and suppressing part of the glyph for spacing considerations.

Inheritance
OMathPhantom
Implements
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class OMathPhantom : OMathStruct, IBrowsable<OMathStruct>
Public Class OMathPhantom
    Inherits OMathStruct
    Implements IBrowsable(Of OMathStruct)

Properties

Name Description
Argument

Gets the argument OMathElement for the phantom.

Show

Gets or sets whether to show the Argument element.

Default value is true.

Smash

Gets or sets whether the contents of the phantom are visible but that the height is not taken into account during layout.

Default value is false.

StructType

Gets the OMathStructType of the structure.

Transparent

Gets or sets whether the phantom is transparent for spacing.

This means that if the contents of the phantom belong to a special spacing class (such as binary operators, relational operators, differentials, etc.), the contents of that phantom are taken into consideration when laying out text. If transparency is turned off, then the contents of the phantom are ignored during layout.

The default value is false.

In Microsoft Word, if transparency is off, special spacing is not added before and after the phantom, but the contents are not ignored during layout.

In Microsoft Word, transparency does not work as specified unless the phantom contains another math function and does not start or end with a math operator.

ZeroAscent

Gets or sets whether it should not take into account the ascent of the contents during layout.

Default value is false.

ZeroDescent

Gets or sets whether it should not take into account the descent of the contents during layout.

Default value is false.

ZeroWidth

Gets or sets whether it should not take into account the width of the contents during layout.

Default value is false.