API Reference
OfficeMathRenderOptions
Settings for dependency-free mathematical layout and drawing.
Inheritance
- Object
- OfficeMathRenderOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method OfficeMathRenderer.AddToDrawing
- Method OfficeMathRenderer.AddToDrawing
- Method OfficeMathRenderer.Measure
- Method OfficeMathRenderer.Measure
- Method OfficeMathRenderer.Render
- Method OfficeMathRenderer.Render
Constructors
public OfficeMathRenderOptions() #Methods
Inherited Methods
Properties
public OfficeFontInfo Font { get; set; } #Base mathematical font, whose size is expressed in points.
public OfficeColor Color { get; set; } #Foreground color.
public Nullable<OfficeColor> BackgroundColor { get; set; } #Optional canvas background.
public Double Padding { get; set; } #Padding around the expression in drawing units.
public Boolean UseFontMathMetrics { get; set; } #Uses available static OpenType MATH constants for supported geometry. Disable to use caller-supplied script and rule settings throughout.
public Double ScriptScale { get; set; } #Fallback relative scale applied to scripts, limits, and root indices.
public Double RuleGap { get; set; } #Fallback minimum gap around compact fraction and decoration rules. Display fractions use three times this gap.
public Double RuleThickness { get; set; } #Fallback thickness of fraction and bar rules; thickness of radical and box rules.
public Double MatrixGap { get; set; } #Horizontal and vertical gap between matrix cells.
public Double Dpi { get; set; } #Point-to-drawing-unit density used by both measurement and paint. The default 72 keeps one drawing unit per font point.
public Boolean DisplayStyle { get; set; } #Uses display fractions with full-size children. Compact fractions and fractions inside scripts use available font script percentages or the fallback ScriptScale.
public OfficeFontFaceCollection Fonts { get; set; } #Scoped font programs used for deterministic advances and painted glyph bounds.