Table of Contents

Constructor MetafileImageCommand

Namespace
DocWright.Core.Metafiles
Assembly
DocWright.Core.dll

MetafileImageCommand(byte[], MetafileRect)

Initializes an image command.

public MetafileImageCommand(byte[] pngBytes, MetafileRect destination)

Parameters

pngBytes byte[]

The complete PNG file bytes.

destination MetafileRect

The destination rectangle in device units.

Exceptions

ArgumentNullException

pngBytes is null.