Skip to main content
All docs
V23.2

PdfButtonWidgetFacade.SetAlternateIcon(String) Method

Specifies the button icon displayed when the user clicks the button, but before the button is released.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.2.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public void SetAlternateIcon(
    string fileName
)

Parameters

Name Type Description
fileName String

The path to an icon file.

Exceptions

Type Description
ArgumentException

Occurs if the icon format is not supported.

Remarks

The following icon formats are available:

  • GIF
  • JPEG
  • PNG
  • TIFF
  • BMP
  • EMF
  • WMF
See Also