This documentation is for the old version. Go to the latest Graphics Mill docs

CanvasService.UpdateImageVObject Method

Updates image v-object using the specified data and parameters.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

Visual Basic
<WebMethodAttribute> _
<ScriptMethodAttribute(ResponseFormat := ResponseFormat.Json)> _
Public Function UpdateImageVObject ( _
	vod As ImageVObjectData, _
	dpi As Single, _
	zoom As Single, _
	previewColorManagementEnabled As Boolean _
) As ImageVObjectData
C#
[WebMethodAttribute]
[ScriptMethodAttribute(ResponseFormat = ResponseFormat.Json)]
public ImageVObjectData UpdateImageVObject(
	ImageVObjectData vod,
	float dpi,
	float zoom,
	bool previewColorManagementEnabled
)

Parameters

vod

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.ImageVObjectData

The image v-object data which describes a state of the image v-object to update.
dpi

Type: System.Single

The resolution (in dpi) to update.
zoom

Type: System.Single

The zoom the update.
previewColorManagementEnabled

Type: System.Boolean

Switch that specifies whether to use color management during updating.

Return Value

The result ImageVObjectData.

See Also

Reference