IMathInputControl::GetPreviewHeight method (micaut.h)

Retrieves the height in pixels of the preview area.

Syntax

HRESULT GetPreviewHeight(
  [out] LONG *Height
);

Parameters

[out] Height

The height in pixels of the preview area.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Manually resizing the control can affect the height of the result-preview area.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header micaut.h (include Micaut.h)

See also

Customizing the Math Input Control

IMathInputControl

SetPreviewHeight