Adds better drawing, hit-testing for non-rectangular objects, and sizing to the capabilities of IViewObject2. For more information, see IViewObjectEx.
Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
<GuidAttribute("3AF24292-0C96-11CE-A0CF-00AA00600AB8")> _
<InterfaceTypeAttribute()> _
Public Interface IViewObjectEx _
    Inherits IViewObject2
[GuidAttribute("3AF24292-0C96-11CE-A0CF-00AA00600AB8")]
[InterfaceTypeAttribute()]
public interface IViewObjectEx : IViewObject2
[GuidAttribute(L"3AF24292-0C96-11CE-A0CF-00AA00600AB8")]
[InterfaceTypeAttribute()]
public interface class IViewObjectEx : IViewObject2
[<GuidAttribute("3AF24292-0C96-11CE-A0CF-00AA00600AB8")>]
[<InterfaceTypeAttribute()>]
type IViewObjectEx =  
    interface 
        interface IViewObject2 
    end
public interface IViewObjectEx extends IViewObject2
The IViewObjectEx type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]()  | 
Draw | |
![]()  | 
Freeze | |
![]()  | 
GetAdvise | |
![]()  | 
GetColorSet | |
![]()  | 
GetExtent | |
![]()  | 
GetNaturalExtent | |
![]()  | 
GetRect | |
![]()  | 
GetViewStatus | |
![]()  | 
QueryHitPoint | |
![]()  | 
QueryHitRect | |
![]()  | 
SetAdvise | |
![]()  | 
Unfreeze | 
Top
.gif)