Get a Resource Image as a PNG Image serialised to a Byte Array.

For Resource types of "SVG", the raw data will be returned. This will not be converted to a PNG prior to returning.

Syntax

finResourceRO.GetImageAsPngByteArray([maxWidth])

Parameters

NameTypeOptionalByRefDescription
maxWidth Integer Optional The Maximum Width for the returned Image in pixels. If omitted, a value of 0 is assumed.

Return Value

Byte()

A PNG Image converted to a Byte Array or Nothing if this Resource is not a valid image.

Member of:
finResourceRO
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0