Size constructor

init

Initializes an instance of the Size class.

def __init__(self, relative_size):
    ...
Parameter Type Description
relative_size int The size in percents in relation to page size.

Exceptions

Exception Description
ArgumentOutOfRangeException Thrown when relative_size is zero or higher than 100.

See Also