VsSmartTagTipWindowClass::GetSizePreferences Method (array<RECT>^, array<SMARTTAGSIZEDATA>^)

 

Returns the size preferences for a tip window.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

public:
virtual int GetSizePreferences(
	array<RECT>^ prcCtxBounds,
	array<SMARTTAGSIZEDATA>^ pSizeData
)

Parameters

prcCtxBounds
Type: array<Microsoft.VisualStudio.OLE.Interop::RECT>^

[in] Coordinates of the bounding rectangle.

pSizeData
Type: array<Microsoft.VisualStudio.TextManager.Interop::SMARTTAGSIZEDATA>^

[out] Size of the tip window. For values see SMARTTAGSIZEDATA.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: