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: 8.2.23
Syntax
C#
public abstract class AbstractOutputFile

The AbstractOutputFile type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractOutputFile
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
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
See Also