Table of Contents

Class PngIconDefinition

Namespace
Dmnk.Icons.Core
Assembly
Dmnk.Icons.Core.dll

Defines an icon that is represented as a PNG. The PNG data is stored as a byte array, which can be used to create an Icon of this definition. Note that the actual size of the PNG data may not match the size of the Icon returned by the size properties, in which case the PNG data will be stretched to fit the requested size.

public class PngIconDefinition : IconDefinition
Inheritance
PngIconDefinition
Inherited Members

Constructors

PngIconDefinition(string)

Defines an icon that is represented as a PNG. The PNG data is stored as a byte array, which can be used to create an Icon of this definition. Note that the actual size of the PNG data may not match the size of the Icon returned by the size properties, in which case the PNG data will be stretched to fit the requested size.

public PngIconDefinition(string technicalName)

Parameters

technicalName string

Properties

Png

The PNG data.

public virtual byte[] Png { get; }

Property Value

byte[]