GetFittingRectangle
Contents
[
Hide
]Image.GetFittingRectangle method (1 of 2)
Gets rectangle which fits the current drawing.
protected static Rectangle GetFittingRectangle(Rectangle rectangle, int width, int height)
| parameter | description |
|---|---|
| rectangle | The rectangle to get fitting rectangle for. |
| width | The object width. |
| height | The object height. |
Return Value
The fitting rectangle or exception if no fitting rectangle can be found.
See Also
- struct Rectangle
- class Image
- namespace Aspose.CAD
- assembly Aspose.CAD
Image.GetFittingRectangle method (2 of 2)
Gets rectangle which fits the current image.
protected static Rectangle GetFittingRectangle(Rectangle rectangle, int[] pixels, int width,
int height)
| parameter | description |
|---|---|
| rectangle | The rectangle to get fitting rectangle for. |
| pixels | The 32-bit ARGB pixels. |
| width | The object width. |
| height | The object height. |
Return Value
The fitting rectangle or exception if no fitting rectangle can be found.
See Also
- struct Rectangle
- class Image
- namespace Aspose.CAD
- assembly Aspose.CAD