[]
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.
public class OMathPhantom : OMathStruct, IBrowsable<OMathStruct>
Gets the argument OMathElement for the phantom.
public OMathElement Argument { get; }
Gets or sets whether to show the Argument element.
Default value is true.
public bool Show { get; set; }
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.
public bool Smash { get; set; }
Gets the OMathStructType of the structure.
public override OMathStructType StructType { get; }
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.
public bool Transparent { get; set; }
Gets or sets whether it should not take into account the ascent of the contents during layout.
Default value is false.
public bool ZeroAscent { get; set; }
Gets or sets whether it should not take into account the descent of the contents during layout.
Default value is false.
public bool ZeroDescent { get; set; }
Gets or sets whether it should not take into account the width of the contents during layout.
Default value is false.
public bool ZeroWidth { get; set; }