Set a new Icon for this PushButtonWidget

Namespace: TallComponents.PDF.Annotations.Widgets
Assembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1

Syntax

C#
public void SetIcon(
	Bitmap icon
)
Visual Basic
Public Sub SetIcon ( _
	icon As Bitmap _
)

Parameters

icon
Type: System.Drawing..::..Bitmap
The icon to set.

Remarks

Setting icon to nullNothingnullptra null reference (Nothing in Visual Basic) clears the icon.

The caller must dispose the bitmap. May be done after this function is finished.

See Also