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

ImageVObject Constructor (FileInfo, Boolean)

Creates and initializes an instance of the ImageVObject class using the specified settings.

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

Syntax

Visual Basic
Public Sub New ( _
	imageFile As FileInfo, _
	scaleToActualSize As Boolean _
)
C#
public ImageVObject(
	FileInfo imageFile,
	bool scaleToActualSize
)

Parameters

imageFile

Type: System.IO.FileInfo

FileInfo to load a bitmap.
scaleToActualSize

Type: System.Boolean

Value specifying whether to take into account image resolution (DPI) when calculating the aspect ratio. You can change this value later through property ScaleToActualSize.

See Also

Reference