IMaxSizeOptions
Leave feedback
On this page
public interface IMaxSizeOptions
Limits of image size options interface.
The IMaxSizeOptions interface defines the limits of image size options in the GroupDocs.Viewer component. It serves as a contract for classes that provide maximum size constraints for rendering images.
| Method | Description |
|---|---|
| getMaxWidth() | Retrieves the maximum width of an output image in pixels. |
| setMaxWidth(int maxWidth) | Sets the maximum width of an output image in pixels. |
| getMaxHeight() | Retrieves the maximum height of an output image in pixels. |
| setMaxHeight(int maxHeight) | Sets the maximum height of an output image in pixels. |
public abstract int getMaxWidth()
Retrieves the maximum width of an output image in pixels.
Returns: int - the maximum width of the output image.
public abstract void setMaxWidth(int maxWidth)
Sets the maximum width of an output image in pixels.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| maxWidth | int | The maximum width of the output image. |
public abstract int getMaxHeight()
Retrieves the maximum height of an output image in pixels.
Returns: int - the maximum height of the output image.
public abstract void setMaxHeight(int maxHeight)
Sets the maximum height of an output image in pixels.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| maxHeight | int | The maximum height of the output image. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.