VsSmartTagTipWindowClass.GetSizePreferences Method

Definition

Returns the size preferences for a tip window.

public:
 virtual int GetSizePreferences(cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prcCtxBounds, cli::array <Microsoft::VisualStudio::TextManager::Interop::SMARTTAGSIZEDATA> ^ pSizeData) = Microsoft::VisualStudio::TextManager::Interop::IVsSmartTagTipWindow::GetSizePreferences;
public:
 virtual int GetSizePreferences(cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ prcCtxBounds, cli::array <Microsoft::VisualStudio::TextManager::Interop::SMARTTAGSIZEDATA> ^ pSizeData);
 virtual int GetSizePreferences(std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & prcCtxBounds, std::Array <Microsoft::VisualStudio::TextManager::Interop::SMARTTAGSIZEDATA> const & pSizeData);
public virtual int GetSizePreferences (Microsoft.VisualStudio.OLE.Interop.RECT[] prcCtxBounds, Microsoft.VisualStudio.TextManager.Interop.SMARTTAGSIZEDATA[] pSizeData);
abstract member GetSizePreferences : Microsoft.VisualStudio.OLE.Interop.RECT[] * Microsoft.VisualStudio.TextManager.Interop.SMARTTAGSIZEDATA[] -> int
override this.GetSizePreferences : Microsoft.VisualStudio.OLE.Interop.RECT[] * Microsoft.VisualStudio.TextManager.Interop.SMARTTAGSIZEDATA[] -> int
Public Overridable Function GetSizePreferences (prcCtxBounds As RECT(), pSizeData As SMARTTAGSIZEDATA()) As Integer

Parameters

prcCtxBounds
RECT[]

[in] Coordinates of the bounding rectangle.

pSizeData
SMARTTAGSIZEDATA[]

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

Returns

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

Implements

Applies to