Skip to main content

Component Plug-In SDK 2026 R1

Method SetPaczIcon

Last update: 19.06.2026

Namespace: Phoenix.ComponentPlugInSDK
Assembly: Phoenix.ComponentPlugInSDK.dll

SetPaczIcon(Uri, string)

Adds an icon file to the Pacz from a resource image.

protected void SetPaczIcon(Uri iconFileResourceUri, string iconFilename = "icon.png")

Parameters

iconFileResourceUri Uri

URI to the image resource.

iconFilename string

The filename to use for the icon in the Pacz.

Remarks

In general you should not add an icon to the pacz unless the user is overriding the default icon for the plug-in. If a pacz does not contain an icon, the system will fall back on the plug-in's icon at runtime.

Connect with Ansys