IMaxSizeOptions
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.
Methods
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. |
getMaxWidth()
public abstract int getMaxWidth()
Retrieves the maximum width of an output image in pixels.
Returns: int - the maximum width of the output image.
setMaxWidth(int maxWidth)
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. |
getMaxHeight()
public abstract int getMaxHeight()
Retrieves the maximum height of an output image in pixels.
Returns: int - the maximum height of the output image.
setMaxHeight(int maxHeight)
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. |