Click or drag to resize
AttachmentExtensions Class
Extension methods for AttachmentInfo.
Inheritance Hierarchy
SystemObject
  CMS.DocumentEngineAttachmentExtensions

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public static class AttachmentExtensions

The AttachmentExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberExceptVariants
Filters attachments to get only ones which do not represent variants.
Public methodStatic memberGenerateAllVariants
Generates all image variants for given attachment overwriting existing variants.
Public methodStatic memberGenerateMissingVariants
Generates attachment image variants which were not yet generated.
Public methodStatic memberGenerateVariant
Generates single image variant for given attachment. The variant is specified by definitionIdentifier parameter.
Public methodStatic memberGetVariant
Returns AttachmentInfo that represents variant of the given attachment. The variant is specified by definitionIdentifier parameter.
Public methodStatic memberIsVariant
Returns true if the attachment is a variant of an original attachment.
Top
See Also