---
title: "ImageVObject Constructor (Uri, Boolean, Boolean)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObject_ctor_3_10d8ef3e.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# ImageVObject Constructor (Uri, Boolean, Boolean)
 
Creates and initializes an instance of the [ImageVObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObject.htm.md) class using the specified settings.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Sub New ( _imageUri As Uri, _downloadToCache As Boolean, _scaleToActualSize As Boolean _
)
```
 
```csharp
public ImageVObject(Uri imageUri,bool downloadToCache,bool scaleToActualSize
)
```
 
### Parameters
 
 - imageUri
     - Type: [System.Uri](http://msdn2.microsoft.com/en-us/txt7706a)
 [Uri](http://msdn2.microsoft.com/en-us/txt7706a) to load a bitmap.

 - downloadToCache
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Value specifying if the bitmap should be loaded to the private cache.

 - scaleToActualSize
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Value specifying whether to take into account image resolution (DPI) when calculating the aspect ratio. You can change this value later through property [ScaleToActualSize](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObject_ScaleToActualSize.htm.md).
   
## See Also

### Reference

- [ImageVObject Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObject.htm.md)
- [ImageVObject Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObject_ctor.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
