GetFitRectangle
Contents
[
Hide
]Image.GetFitRectangle method (1 of 2)
Gets rectangle which fits the current image.
protected Rectangle GetFitRectangle(Rectangle rectangle)
parameter | description |
---|---|
rectangle | The rectangle to get fitting rectangle for. |
Return Value
The fitting rectangle
See Also
- struct Rectangle
- class Image
- namespace Aspose.CAD
- assembly Aspose.CAD
Image.GetFitRectangle method (2 of 2)
Gets rectangle which fits the current bitmap taking into account the pixels passed. The passed pixels array count should be equal to the fitting rectangle size.
protected Rectangle GetFitRectangle(Rectangle rectangle, int[] pixels)
parameter | description |
---|---|
rectangle | The rectangle to get fitting rectangle for. |
pixels | The 32-bit ARGB pixels array. |
Return Value
The fitting rectangle.
See Also
- struct Rectangle
- class Image
- namespace Aspose.CAD
- assembly Aspose.CAD