Click or drag to resize
AbstractOutputFile Class
Abstract output file with the base functionality.
Inheritance Hierarchy

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public abstract class AbstractOutputFile

The AbstractOutputFile type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractOutputFile
Top
Fields
  NameDescription
Protected fieldmDataLoaded
Indicates whether data were loaded
Protected fieldmHeight
Height
Protected fieldmInstantiated
Initialization time
Protected fieldmMaxSideSize
Max side size
Protected fieldmOutputData
Binary output data
Protected fieldmResized
Indicates whether image was resized
Protected fieldmUseWatermark
Indicates whether watermark should be used
Protected fieldmWidth
Width
Top
Properties
  NameDescription
Public propertyDataLoaded
Returns true if the data is loaded to the object.
Public propertyHeight
Requested output Height.
Public propertyMaxSideSize
Requested output MaxSideSize.
Public propertyOutputData
Output file data.
Public propertyResized
If true, the file is resized version of the file.
Public propertyUseWatermark
If true, the watermark is allowed to be used.
Public propertyWatermark
If set, watermark image is applied to the image. Name of the watermark image from ~/App_Themes/{theme}/Images/Watermarks
Public propertyWatermarkPosition
Watermark position.
Public propertyWidth
Requested output width.
Top
Methods
  NameDescription
Public methodApplyWatermark
Applies watermark on the given image data.
Protected methodCheckUseWatermark
Checks whether the watermark can be used
Protected methodSatisfiesWatermarkDimensions
Checks the minimal
Top
See Also