---
title: "Common..::.GetImageSize Method (Stream, Size%, Single%, Single%)"
canonical: https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Common_GetImageSize_4_e9a326fa.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# Common.GetImageSize Method (Stream, Size%, Single%, Single%)

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```csharp
public static void GetImageSize(Stream imageStream,out Size imageSize,out float horizontalResolution,out float verticalResolution
)
```
 
### Parameters
 
 - imageStream
     - Type: [System.IO..Stream](http://msdn2.microsoft.com/en-us/library/8f86tw9e)

 - imageSize
     - Type: [System.Drawing..Size](http://msdn2.microsoft.com/en-us/library/bfwt6fe5)%

 - horizontalResolution
     - Type: [System..Single](http://msdn2.microsoft.com/en-us/library/3www918f)%

 - verticalResolution
     - Type: [System..Single](http://msdn2.microsoft.com/en-us/library/3www918f)%
   
## See Also

### Reference

- [Common Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Common.htm.md)
- [GetImageSize Overload](https://www.graphicsmill.com/docs/gmwc/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Common_GetImageSize.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
