Click or drag to resize
IInteractivePreviewComponent Interface
A control representing the native type of a document with methods to allow scrolling, searching and replacement of text within the native document.

Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
public interface IInteractivePreviewComponent

The IInteractivePreviewComponent type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the document in whatever way is necessary, and cleans up any left-over resources.
Public methodCreateScratchDocument
Creates a scratch document containing just the specified segment and returns the file name.
Public methodGenerate
Generates the native preview using the filter manager and bilingual parser provided. Populates the control with the resulting document.
Public methodGetControl
Gets the control to embed into the view
Public methodGetSelectedSegment
Returns an identifier for the currently selected segment in the preview document
Public methodScrollToSegment
Scrolls the native document window so that the segment becomes visible.
Public methodUpdateSegment
Updates the text in the native document to match the new text of the specified segment.
Top
Events
  NameDescription
Public eventWindowSelectionChanged
Notifies listeners that the selection is now different
Top
See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments