Class LevlResource

LevlResource class

Class LevlResource. Resource of Exposure Adjustment Layer

public class LevlResource : AdjustmentLayerResource

Constructors

NameDescription
LevlResource()Initializes a new instance of the LevlResource class.
LevlResource(byte[])Initializes a new instance of the LevlResource class. Supported in GrayScale, Duotone, RGB, CMYK, Lab color modes 2 bytes - Version (=2) 29 * 10 bytes - Sets of level records with 5 short integers 4 bytes - Lvls header (Starts at 292 index) 2 bytes - Version (=3) 2 bytes - Count of total level record 10 * (Total Count - 29) Zero ending of Lvls resource should be fold for four too

Properties

NameDescription
Key { get; }Gets the layer resource key.
override Length { get; }Gets the layer resource length in bytes.
PsdVersion { get; }Gets the minimal psd version required for layer resource. 0 indicates no restrictions.
virtual Signature { get; }Gets the signature.
Version { get; }Gets the version. Default is 2

Methods

NameDescription
GetChannel(int)Gets the channel.
override Save(StreamContainer, int)Saves the resource to the specified stream container.
override ToString()Returns a String that represents this instance.

Fields

NameDescription
const TypeToolKeyThe type tool info key.

See Also