| AttachmentExtensions Class |
Namespace: CMS.DocumentEngine
public static class AttachmentExtensions
The AttachmentExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| ExceptVariants |
Filters attachments to get only ones which do not represent variants.
| |
| GenerateAllVariants |
Generates all image variants for given attachment overwriting existing variants.
| |
| GenerateMissingVariants |
Generates attachment image variants which were not yet generated.
| |
| GenerateVariant |
Generates single image variant for given attachment. The variant is specified by definitionIdentifier parameter.
| |
| GetVariant |
Returns AttachmentInfo that represents variant of the given attachment. The variant is specified by definitionIdentifier parameter.
| |
| IsVariant |
Returns true if the attachment is a variant of an original attachment.
|