CMSOutputAttachment MembersKentico 8.1 API Reference
The CMSOutputAttachment type exposes the following members.
Constructors

  NameDescription
Public methodCMSOutputAttachment 
Constructor.
Public methodCMSOutputAttachment(AttachmentInfo,  Byte )
Constructor.
Back to Top
Methods

  NameDescription
Public methodApplyWatermark
Applies watermark on the given image data.
(Inherited from AbstractOutputFile.)
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodEnsureData
Ensures that the object contains the output data.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetValue
Returns value of column.
Protected methodCheckUseWatermark
Checks whether the watermark can be used
(Inherited from AbstractOutputFile.)
Public methodLoadData
Loads the data to the object.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodSatisfiesWatermarkDimensions
Checks the minimal
(Inherited from AbstractOutputFile.)
Public methodSetValue
Sets value of column.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTryGetValue
Returns value of column.
Back to 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 MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
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 MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
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 MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Back to Top
Fields

  NameDescription
Protected fieldmDataLoaded
Indicates whether data were loaded
(Inherited from AbstractOutputFile.)
Protected fieldmHeight
Height
(Inherited from AbstractOutputFile.)
Protected fieldmInstantiated
Initialization time
(Inherited from AbstractOutputFile.)
Protected fieldmMaxSideSize
Max side size
(Inherited from AbstractOutputFile.)
Protected fieldmOutputData
Binary output data
(Inherited from AbstractOutputFile.)
Protected fieldmResized
Indicates whether image was resized
(Inherited from AbstractOutputFile.)
Protected fieldmUseWatermark
Indicates whether watermark should be used
(Inherited from AbstractOutputFile.)
Protected fieldmWidth
Width
(Inherited from AbstractOutputFile.)
Back to Top
Properties

  NameDescription
Public propertyAliasPath
Document alias path.
Public propertyAttachment
AttachmentInfo without AttachmentBinary.
Public propertyColumnNames
Column names.
Public propertyCultureCode
Document culture.
Public propertyDataLoaded
Returns true if the data is loaded to the object.
(Inherited from AbstractOutputFile.)
Public propertyFileNode
File document node.
Public propertyHeight
Requested output Height.
(Inherited from AbstractOutputFile.)
Public propertyIsPublished
Returns true if the file is published.
Public propertyIsSecured
File is secured (located within the secured area document).
Public propertyIsValid
Returns true if the file is valid.
Public propertyItem
Gets or sets the value of the column.
Public propertyLastModified
Time when the file was last modified.
Public propertyMaxSideSize
Requested output MaxSideSize.
(Inherited from AbstractOutputFile.)
Public propertyMimeType
Mime type.
Public propertyOutputData
Output file data.
(Inherited from AbstractOutputFile.)
Public propertyPhysicalFile
Physical file path to the data.
Public propertyRedirectTo
If set, file should be redirected to the file system.
Public propertyResized
If true, the file is resized version of the file.
(Inherited from AbstractOutputFile.)
Public propertySiteName
Document site name.
Public propertyUseWatermark
If true, the watermark is allowed to be used.
(Overrides AbstractOutputFile UseWatermark.)
Public propertyValidFrom
Time from which the file is valid.
Public propertyValidTo
Time to which the file is valid.
Public propertyWatermark
If set, watermark image is applied to the image. Name of the watermark image from ~/App_Themes/{theme}/Images/Watermarks
(Inherited from AbstractOutputFile.)
Public propertyWatermarkPosition
Watermark position.
(Inherited from AbstractOutputFile.)
Public propertyWidth
Requested output width.
(Inherited from AbstractOutputFile.)
Back to Top
See Also