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

ImageVObject.LoadImage Method (FileInfo, 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 ( _
	imageFile As FileInfo, _
	actualSize As Boolean, _
	preserveAspectRatio As Boolean _
)
C#
public void LoadImage(
	FileInfo imageFile,
	bool actualSize,
	bool preserveAspectRatio
)

Parameters

imageFile

Type: System.IO.FileInfo

FileInfo 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.
preserveAspectRatio

Type: System.Boolean

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

See Also

Reference