Table of Contents

Class AbstractOutputFile

Namespace
CMS.Helpers
Assembly
CMS.Helpers.dll

Abstract output file with the base functionality.

public abstract class AbstractOutputFile
Inheritance
object
AbstractOutputFile
Derived
Extension Methods

Fields

mDataLoaded

Indicates whether data were loaded

protected bool mDataLoaded

Field Value

bool

mHeight

Height

protected int mHeight

Field Value

int

mInstantiated

Initialization time

protected DateTime mInstantiated

Field Value

DateTime

mMaxSideSize

Max side size

protected int mMaxSideSize

Field Value

int

mOutputData

Binary output data

protected byte[] mOutputData

Field Value

byte[]

mResized

Indicates whether image was resized

protected bool mResized

Field Value

bool

mWidth

Width

protected int mWidth

Field Value

int

Properties

DataLoaded

Returns true if the data is loaded to the object.

public bool DataLoaded { get; }

Property Value

bool

Height

Requested output Height.

public int Height { get; set; }

Property Value

int

MaxSideSize

Requested output MaxSideSize.

public int MaxSideSize { get; set; }

Property Value

int

OutputData

Output file data.

public byte[] OutputData { get; set; }

Property Value

byte[]

ResizeAllowed

Indicates whether resize is allowed.

public bool ResizeAllowed { get; set; }

Property Value

bool

Resized

If true, the file is resized version of the file.

[Obsolete("Member is deprecated and will be removed in next version.")]
[ObsoleteSince(29, 0)]
public bool Resized { get; set; }

Property Value

bool

Width

Requested output width.

public int Width { get; set; }

Property Value

int