getOpaqueBoundsInPixels2 method
Contents
[
Hide
]getOpaqueBoundsInPixels2(scale, dpi)
Calculates the opaque bounds of the shape in pixels for a specified zoom factor and resolution.
getOpaqueBoundsInPixels2(scale: number, dpi: number)
Parameter | Type | Description |
---|---|---|
scale | number | The zoom factor (1.0 is 100%). |
dpi | number | The resolution to convert from points to pixels (dots per inch). |
Remarks
This method converts Aspose.Words.Rendering.NodeRendererBase.OpaqueBoundsInPoints into rectangle in pixels and it is useful when you want to create a bitmap for rendering the shape with only opaque part of the shape.
Returns
The opaque rectangle of the shape in pixels.
getOpaqueBoundsInPixels2(scale, horizontalDpi, verticalDpi)
Calculates the opaque bounds of the shape in pixels for a specified zoom factor and resolution.
getOpaqueBoundsInPixels2(scale: number, horizontalDpi: number, verticalDpi: number)
Parameter | Type | Description |
---|---|---|
scale | number | The zoom factor (1.0 is 100%). |
horizontalDpi | number | The horizontal resolution to convert from points to pixels (dots per inch). |
verticalDpi | number | The vertical resolution to convert from points to pixels (dots per inch). |
Remarks
This method converts Aspose.Words.Rendering.NodeRendererBase.OpaqueBoundsInPoints into rectangle in pixels and it is useful when you want to create a bitmap for rendering the shape with only opaque part of the shape.
Returns
The opaque rectangle of the shape in pixels.
See Also
- module Aspose.Words.Rendering
- class NodeRendererBase