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

UnitConverterObject.VerticalUnitsToPixels Method

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

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

Syntax

Visual Basic
Public Function VerticalUnitsToPixels ( _
	units As Single _
) As Integer
C#
public int VerticalUnitsToPixels(
	float units
)

Parameters

units

Type: System.Single

Vertical value in unit specified in Unit property.

Return Value

Vertical value converted to pixels.

Remarks

Examples of horizontal values are image height, Y-coordinate, etc.

See Also

Reference