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

UnitConverterObject.HorizontalPixelsToUnits Method

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

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

Syntax

Visual Basic
Public Function HorizontalPixelsToUnits ( _
	pixels As Integer _
) As Single
C#
public float HorizontalPixelsToUnits(
	int pixels
)

Parameters

pixels

Type: System.Int32

Horizontal value in pixels.

Return Value

Horizontal value converted into necessary unit.

Remarks

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

See Also

Reference