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

UnitConverterObject.HorizontalUnitsToPixels Method

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.

See Also

Reference