Click or drag to resize
IPreviewSets Interface
Collection of preview types for this file type, with accessors to get a specified preview by id and the ability to define a default preview type.

Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public interface IPreviewSets : ICollection<IPreviewSet>, 
	IEnumerable<IPreviewSet>, IEnumerable

The IPreviewSets type exposes the following members.

Properties
  NameDescription
Public propertyCount (Inherited from ICollectionIPreviewSet.)
Public propertyDefaultApplicationPreview
The id of the preview type that should be used by default for application previews for this file type.
Public propertyDefaultControlPreview
The id of the preview type that should be used as default for control previews for this file type.
Public propertyIsReadOnly (Inherited from ICollectionIPreviewSet.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from ICollectionIPreviewSet.)
Public methodClear (Inherited from ICollectionIPreviewSet.)
Public methodContains (Inherited from ICollectionIPreviewSet.)
Public methodCopyTo (Inherited from ICollectionIPreviewSet.)
Public methodFindFromId
Returns the preview type with the specified id, or null if no preview type with that id is defined in this collection.
Public methodGetApplicationPreviews
Returns all "View In" preview sets, i.e. previews that can launch a standalone application instance for viewing the content.
Public methodGetControlPreviews
Returns all preview sets that provide controls that can be hosted in a window of the host application.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIPreviewSet.)
Public methodRemove (Inherited from ICollectionIPreviewSet.)
Top
Remarks
If no default preview type is defined, the host application may choose to use the first defined preview type as the default.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments