Partager via


IVsWebPreview Interface

Definition

Enables a package to show a preview of a Web page, typically in a child window. You can get an instance of the interface from the SVsWebPreview (SID_SVsWebPreview) service.

public interface class IVsWebPreview
public interface class IVsWebPreview
__interface IVsWebPreview
[System.Runtime.InteropServices.Guid("9EC9BA55-B328-11D2-9A98-00C04F79EFC3")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsWebPreview
[System.Runtime.InteropServices.Guid("9EC9BA55-B328-11D2-9A98-00C04F79EFC3")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsWebPreview
[<System.Runtime.InteropServices.Guid("9EC9BA55-B328-11D2-9A98-00C04F79EFC3")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsWebPreview = interface
[<System.Runtime.InteropServices.Guid("9EC9BA55-B328-11D2-9A98-00C04F79EFC3")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsWebPreview = interface
Public Interface IVsWebPreview
Attributes

Methods

ActivatePreview()

Activates the preview set by PreviewURL(IVsWebPreviewAction, String) or PreviewURLEx(IVsWebPreviewAction, String, UInt32, Int32, Int32).

PreviewURL(IVsWebPreviewAction, String)

Provides the information for the preview. Use ActivatePreview() to display the preview.

PreviewURLEx(IVsWebPreviewAction, String, UInt32, Int32, Int32)

Provides the information for the preview. Extension of PreviewURL(IVsWebPreviewAction, String). Use ActivatePreview() to display the preview.

Resize(Int32, Int32)

Resize the preview window.

Applies to