| CMSOutputMediaFile Class |
Namespace: CMS.MediaLibrary
public class CMSOutputMediaFile : AbstractOutputFile, IDataContainer, ISimpleDataContainer
The CMSOutputMediaFile type exposes the following members.
| Name | Description | |
|---|---|---|
| CMSOutputMediaFile |
Constructor.
| |
| CMSOutputMediaFile(MediaFileInfo, Byte) |
Constructor.
|
| Name | Description | |
|---|---|---|
| mDataLoaded |
Indicates whether data were loaded
(Inherited from AbstractOutputFile.) | |
| mHeight |
Height
(Inherited from AbstractOutputFile.) | |
| mInstantiated |
Initialization time
(Inherited from AbstractOutputFile.) | |
| mMaxSideSize |
Max side size
(Inherited from AbstractOutputFile.) | |
| mOutputData |
Binary output data
(Inherited from AbstractOutputFile.) | |
| mResized |
Indicates whether image was resized
(Inherited from AbstractOutputFile.) | |
| mUseWatermark |
Indicates whether watermark should be used
(Inherited from AbstractOutputFile.) | |
| mWidth |
Width
(Inherited from AbstractOutputFile.) |
| Name | Description | |
|---|---|---|
| ColumnNames |
Column names.
| |
| DataLoaded |
Returns true if the data is loaded to the object.
(Inherited from AbstractOutputFile.) | |
| FileExtension |
File extension.
| |
| FileName |
File extension.
| |
| FilePath |
File path.
| |
| Height |
Requested output Height.
(Inherited from AbstractOutputFile.) | |
| Item |
Gets or sets the value of the column.
| |
| LastModified |
Time when the file was last modified.
| |
| MaxSideSize |
Requested output MaxSideSize.
(Inherited from AbstractOutputFile.) | |
| MediaFile |
Media file info object.
| |
| MimeType |
Mime type.
| |
| OriginalFile |
Gets physical file path to the original file.
| |
| OutputData |
Output file data.
(Inherited from AbstractOutputFile.) | |
| PhysicalFile |
Physical file path to the data.
| |
| PreviewFilePath |
Preview file path
| |
| Resized |
If true, the file is resized version of the file.
(Inherited from AbstractOutputFile.) | |
| SiteName |
Media file site name.
| |
| UsePreview |
Indicates if file preview should be pused for output file.
| |
| UseWatermark |
If true, the watermark is allowed to be used.
(Overrides AbstractOutputFileUseWatermark.) | |
| Watermark |
If set, watermark image is applied to the image. Name of the watermark image from ~/App_Themes/{theme}/Images/Watermarks
(Inherited from AbstractOutputFile.) | |
| WatermarkPosition |
Watermark position.
(Inherited from AbstractOutputFile.) | |
| Width |
Requested output width.
(Inherited from AbstractOutputFile.) |
| Name | Description | |
|---|---|---|
| ApplyWatermark |
Applies watermark on the given image data.
(Inherited from AbstractOutputFile.) | |
| CheckUseWatermark |
Checks whether the watermark can be used
(Inherited from AbstractOutputFile.) | |
| ContainsColumn |
Returns true if the object contains specified column.
| |
| EnsureData |
Ensures that the object contains the output data.
| |
| GetValue |
Returns value of column.
| |
| LoadData |
Loads the data to the object.
| |
| LoadPreview |
Loads the preview data to the object.
| |
| SatisfiesWatermarkDimensions |
Checks the minimal
(Inherited from AbstractOutputFile.) | |
| SetValue |
Sets value of column.
| |
| TryGetValue |
Returns value of column.
|
| Name | Description | |
|---|---|---|
| CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
| ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
| ToXML(XmlWriter, Boolean) | Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) | |
| ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
| ToXML(XmlWriter, ListString, Boolean) | Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |