Returns the resource size as set by the SetResourceSize method. The actual size of a resource will be
calculated proportionally according to the values other resources have. The default value for each resource is one.
This means that setting a value of 2 for a given resource will make it twice as large compared to other resources.
To get the size of a resource in pixels use one of the other overloads of this method.