| IPreviewSetsFactory Interface |
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
The IPreviewSetsFactory type exposes the following members.
| Name | Description | |
|---|---|---|
| FileTypeDefinition |
The framework sets this property for components that are
instantiated from a file type definition.
(Inherited from IFileTypeDefinitionAware.) | |
| IsFileAgnostic |
Returns true if the set of previews is the same for
all files that the factory applies to, in which case passing
null to GetPreviewSets(IFileProperties) will yield
all previews that are specifically available for this document type.
|
| Name | Description | |
|---|---|---|
| CreatePreviewSet |
Provides access to the creation of a new preview set.
| |
| CreatePreviewTypeT |
Creates a preview type of type T. T can either be an IApplicationPreviewType or
an IControlPreviewType.
| |
| GetPreviewSets |
Gets the set of previews that can be used with the specified file.
|
Normally accessed via BuildPreviewSetsFactory.
The set of available preview types for a file type sometimes depends on the actual file itself (e.g. for TTX where the underlying file format can vary significantly). However, for most file formats the set is the same for all document instances. You can check the IsFileAgnostic property to determine if this is the case.