public Size RealImageSize {get;}
Public ReadOnly Property RealImageSize As Size
public Size RealImageSize {get;}
@property (nonatomic,readonly) CGSize realImageSize;
public LeadSizeF getRealImageSize()
get_RealImageSize();
The image size in pixels is stored in ImageSize. When the value of UseDpi is false, then then RealImageSize will be equal to ImageSize.
When UseDpi is true, then the image size to use is calculated by this formula:
Image size to use = ImageSize * ScreenDpi / ImageDpi
This value is stored in RealImageSize, which uses the formula above while making the necessary checks to use default values if ImageDpiX, ImageDpiY, ScreenDpiX or ScreenDpiY are not set.