Click or drag to resize
GenericInternalWebBrowserPreviewControl Class
This class can be used to preview a single source or target file in a WebBrowser control.
Remarks
The GenericSideBySideWebBrowserPreviewControl can be used to preview the source and target file in two System.Windows.Forms.WebBrowser controls.
Inheritance Hierarchy

Namespace: Sdl.FileTypeSupport.Framework.PreviewControls
Assembly: Sdl.FileTypeSupport.Framework.PreviewControls (in Sdl.FileTypeSupport.Framework.PreviewControls.dll) Version: 1.0.0.0 (1.0.7219.0)
Syntax
public class GenericInternalWebBrowserPreviewControl : AbstractPreviewControl, 
	ISingleFilePreviewControl, IAbstractPreviewControl, IAbstractPreviewController, ISingleFilePreviewController, IDisposable

The GenericInternalWebBrowserPreviewControl type exposes the following members.

Constructors
  NameDescription
Public methodGenericInternalWebBrowserPreviewControl
Constructor.
Top
Properties
  NameDescription
Public propertyControl
The actual Windows Forms control for the preview display. See: Control.
(Overrides AbstractPreviewControlControl.)
Public propertyFileTypeDefinition
Implements synchronized access to this property.
(Inherited from AbstractFileTypeDefinitionComponent.)
Public propertyInitialHtmlPage
If set then an initial HTML page will be displayed containg the content of this string in a tempoary .htm file.
Public propertyPreviewFile
Default implementation is accessor for member field.
Top
Methods
  NameDescription
Public methodDispose
Standard implementation of IDisposable, calls Dispose(true).
Protected methodDispose(Boolean)
Implementation of the recommended dispose protocol. Deletes the managed WebBrowser control
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Used for a standard implementation of IDisposable.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRefresh
Called to initially display or refresh the display of a single page in a System.Windows.Forms.WebBrowser control. If both source and target files exist then only the target file will be displayed.
Remarks
The GenericSideBySideWebBrowserPreviewControl can be used to display both source and target files in two WebBrowser controls.
(Overrides AbstractPreviewControlRefresh.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community

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