Search Results for

    Show / Hide Table of Contents

    Interface IAbstractPreviewControl

    Interface implemented by file type components that can be used for displaying a preview in a .NET control that can be hosted in the application.

    Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public interface IAbstractPreviewControl : IAbstractPreviewController
    Remarks

    Any preview may provide additional services by implementing interfaces such as INavigablePreview.

    Properties

    Control

    The actual Windows Forms control for the preview display

    Declaration
    Control Control { get; }
    Property Value
    Type Description
    System.Windows.Forms.Control
    Remarks

    This property provides direct access to the control. It is used by host applications that host the control to set its size and other standard properties.

    Methods

    Refresh()

    Called when a document preview first needs to be been displayed and subsequently each time the document preview needs to be been updated.

    Declaration
    void Refresh()
    Remarks

    This preview control may also need to call the contained preview generator object's IAbstractPreviewGenerator.Refresh() method to ensure that a new preview file has been created or has been updated, and is ready to be viewed.

    On this page

    • Properties
      • Control
    • Methods
      • Refresh()
    Back to top Generated by DocFX