Table of Contents

Method CreateLayerMetadata

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

CreateLayerMetadata()

Creates an empty, mutable metadata container for use with an IFileTypeLayer.

IFileTypeLayerMetadata CreateLayerMetadata()

Returns

IFileTypeLayerMetadata

Remarks

This method is useful when you need to create the layer metadata before creating the layer. You can use the ReplaceFrom(IReadOnlyFileTypeLayerMetadata) method to replace the data in a metadata container with the data from another metadata container.