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

ImageVObject.LoadImage Method (Uri, Boolean, Boolean, Boolean)

Loads the bitmap from the external source.

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

Syntax

Visual Basic
Public Sub LoadImage ( _
	imageUri As Uri, _
	actualSize As Boolean, _
	saveAspectRatio As Boolean, _
	downloadToCache As Boolean _
)
C#
public void LoadImage(
	Uri imageUri,
	bool actualSize,
	bool saveAspectRatio,
	bool downloadToCache
)

Parameters

imageUri

Type: System.Uri

Uri to load a bitmap.
actualSize

Type: System.Boolean

Value specifying whether a size of the ImageVObject should be same as a size of loaded image.
saveAspectRatio

Type: System.Boolean

Value specifying whether to decrease width or height of the ImageVObject to save aspect ratio of loaded image.
downloadToCache

Type: System.Boolean

Value specifying if the bitmap should be loaded to the private cache.

See Also

Reference