| ISingleFileRefreshablePreview Methods |
The ISingleFileRefreshablePreview type exposes the following members.
| Name | Description | |
|---|---|---|
| AfterFileRefresh |
Called by the host application after the preview file has been successfully
overwritten.
(Inherited from IPreviewUpdatedViaRefresh.) | |
| BeforeFileRefresh |
Called by the host application when the preview is about to be updated,
before the file at TargetFilePath is overwritten.
(Inherited from IPreviewUpdatedViaRefresh.) | |
| CreateSegmentFile |
Called by the host application to create a native source document containing the source language
content of the specified segment. The implementation returns the full path to the file created.
(Inherited from IPreviewUpdatedViaSegmentFile.) | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| NavigateToSegment |
Called by the host application to request that
the preview should scroll to the specified segment.
(Inherited from INavigablePreview.) | |
| Refresh |
Called when a document preview first needs to be been displayed and
subsequently each time the document preview needs to be been updated.
(Inherited from IAbstractPreviewControl.) | |
| UpdatePreviewFromSegmentFile |
Called by the host application to update the preview with the content of a segment file.
The implementation should update the preview by replacing the segment content with the
content in the segment file.
(Inherited from IPreviewUpdatedViaSegmentFile.) |