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 code example, see the documentation: https://docs.groupdocs.com/viewer/net/set-image-size-limits-when-rendering-to-png-jpg/

If you set the PngViewOptions.width property, this property is ignored.

Definition:

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

See Also