---
title: "CanvasService..::.UpdateImageVObject Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_CanvasService_UpdateImageVObject_4_6d9d7760.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/)

# CanvasService.UpdateImageVObject Method 
 
Updates image v-object using the specified data and parameters.
 
**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
  
```
<WebMethodAttribute> _
<ScriptMethodAttribute(ResponseFormat := ResponseFormat.Json)> _
Public Function UpdateImageVObject ( _vod As ImageVObjectData, _dpi As Single, _zoom As Single, _previewColorManagementEnabled As Boolean _
) As ImageVObjectData
```
 
```csharp
[WebMethodAttribute]
[ScriptMethodAttribute(ResponseFormat = ResponseFormat.Json)]
public ImageVObjectData UpdateImageVObject(ImageVObjectData vod,float dpi,float zoom,bool previewColorManagementEnabled
)
```
 
### Parameters
 
 - vod
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.ImageVObjectData](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObjectData.htm.md)
The image v-object data which describes a state of the image v-object to update.

 - dpi
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The resolution (in dpi) to update.

 - zoom
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The zoom the update.

 - previewColorManagementEnabled
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Switch that specifies whether to use color management during updating.
 
### Return Value
 
The result [ImageVObjectData](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObjectData.htm.md).
   
## See Also

### Reference

- [CanvasService Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_CanvasService.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
