public void Inflate(SizeF size) { Inflate(size.Width, size.Height); }
// Convert a SizeF object into a Size object using truncating conversion. public static Size Truncate(SizeF value) { return(new Size((int)(value.Width), (int)(value.Height))); }
// Convert a SizeF object into a Size object using ceiling conversion. public static Size Ceiling(SizeF value) { return(new Size((int)(Math.Ceiling(value.Width)), (int)(Math.Ceiling(value.Height)))); }
// Convert a SizeF object into a Size object using rounding conversion. public static Size Round(SizeF value) { return(new Size((int)(Math.Round(value.Width)), (int)(Math.Round(value.Height)))); }