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

TransformsProvider.Buttonize Method (Single, FadeType, Direction, Boolean, Boolean)

Applies buttonize effect on the image.

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

Syntax

Visual Basic
Public Sub Buttonize ( _
	borderWidth As Single, _
	fadeType As FadeType, _
	direction As Direction, _
	horizontalBorder As Boolean, _
	verticalBorder As Boolean _
)
C#
public void Buttonize(
	float borderWidth,
	FadeType fadeType,
	Direction direction,
	bool horizontalBorder,
	bool verticalBorder
)

Parameters

borderWidth

Type: System.Single

Border (button edge) width.
fadeType

Type: Aurigma.GraphicsMill.Transforms.FadeType

FadeType value specifying a fade type used to draw button edges.
direction

Type: Aurigma.GraphicsMill.Transforms.Direction

Direction value specifying lightning direction used to draw button edges.
horizontalBorder

Type: System.Boolean

Value specifying whether to show horizontal border.
verticalBorder

Type: System.Boolean

Value specifying whether to show vertical border.

Remarks

You can also use Buttonize class to apply this effect.

See Also

Reference