Skip to main content
All docs
V23.2

PdfButtonWidgetFacade.SetAlternateIcon(Stream) 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(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A stream that contains the icon.

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