max_width property

max_width property

The maximum width of an output image in pixels.

Use this property to set the maximum output image width (in pixels). For a code example, see the documentation at https://docs.groupdocs.com/viewer/net/set-image-size-limits-when-rendering-to-png-jpg/.

If the Width property is set, this property is ignored.

Definition:

@property
def max_width(self):
    ...
@max_width.setter
def max_width(self, value):
    ...

See Also