
## OfficeMathRenderer class

Provides methods to render an individual [OfficeMath](../../aspose.words.math/officemath/)
to a raster or vector image or to a Graphics object.
To learn more, visit the [Working with OfficeMath](https://docs.aspose.com/words/nodejs-net/working-with-officemath/) documentation article.




**Inheritance:** [OfficeMathRenderer](./) → [NodeRendererBase](../noderendererbase/)

### Constructors
| Name | Description |
| --- | --- |
| [OfficeMathRenderer(math)](./constructor/#officemath) | Initializes a new instance of this class. |

### Properties

| Name | Description |
| --- | --- |
| [boundsInPoints2](../noderendererbase/boundsInPoints2/) | Gets the actual bounds of the shape in points.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |
| [opaqueBoundsInPoints2](../noderendererbase/opaqueBoundsInPoints2/) | Gets the opaque bounds of the shape in points.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |
| [sizeInPoints2](../noderendererbase/sizeInPoints2/) | Gets the actual size of the shape in points.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |

### Methods

| Name | Description |
| --- | --- |
|[ getBoundsInPixels2(scale, dpi)](../noderendererbase/getBoundsInPixels2/#number_number) | Calculates the bounds of the shape in pixels for a specified zoom factor and resolution.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |
|[ getBoundsInPixels2(scale, horizontalDpi, verticalDpi)](../noderendererbase/getBoundsInPixels2/#number_number_number) | Calculates the bounds of the shape in pixels for a specified zoom factor and resolution.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |
|[ getOpaqueBoundsInPixels2(scale, dpi)](../noderendererbase/getOpaqueBoundsInPixels2/#number_number) | Calculates the opaque bounds of the shape in pixels for a specified zoom factor and resolution.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |
|[ getOpaqueBoundsInPixels2(scale, horizontalDpi, verticalDpi)](../noderendererbase/getOpaqueBoundsInPixels2/#number_number_number) | Calculates the opaque bounds of the shape in pixels for a specified zoom factor and resolution.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |
|[ save(fileName, saveOptions)](../noderendererbase/save/#string_imagesaveoptions) | Renders the shape into an image and saves into a file.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |
|[ save(fileName, saveOptions)](../noderendererbase/save/#string_svgsaveoptions) | Renders the shape into an SVG image and saves into a file.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |
|[ save(stream, saveOptions)](../noderendererbase/save/#buffer_imagesaveoptions) | Renders the shape into an image and saves into a stream.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |
|[ save(stream, saveOptions)](../noderendererbase/save/#buffer_svgsaveoptions) | Renders the shape into an SVG image and saves into a stream.<br>(Inherited from [NodeRendererBase](../noderendererbase/)) |

### See Also

* module [Aspose.Words.Rendering](../)
* class [NodeRendererBase](../noderendererbase/)

