Documentation for the outdated version. Latest Aurigma Upload Suite docs

Converts horizontal value from unit specified in Unit property to pixels.

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

Syntax

Visual Basic

Public Function HorizontalUnitsToPixels ( _
	units As Single _
) As Integer

C#

public int HorizontalUnitsToPixels(
	float units
)

Parameters

units

Type: System..::.Single

Horizontal value in unit specified in Unit property.

Return Value

Horizontal value converted to pixels.

Remarks

Examples of vertical values are image width, X-coordinate, etc.