Skip to content

Latest commit

 

History

History
132 lines (103 loc) · 3.4 KB

nf-micaut-imathinputcontrol-setposition.md

File metadata and controls

132 lines (103 loc) · 3.4 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:micaut.IMathInputControl.SetPosition
IMathInputControl::SetPosition (micaut.h)
Modifies the location and size of the control.
IMathInputControl interface [Tablet PC]
SetPosition method
IMathInputControl.SetPosition
IMathInputControl::SetPosition
SetPosition
SetPosition method [Tablet PC]
SetPosition method [Tablet PC]
IMathInputControl interface
micaut/IMathInputControl::SetPosition
tablet.imathinputcontrol_setposition
tablet\imathinputcontrol_setposition.htm
tablet
9b5fc988-7c93-47d4-8661-4cef56cab0d0
12/05/2018
IMathInputControl interface [Tablet PC],SetPosition method, IMathInputControl.SetPosition, IMathInputControl::SetPosition, SetPosition, SetPosition method [Tablet PC], SetPosition method [Tablet PC],IMathInputControl interface, micaut/IMathInputControl::SetPosition, tablet.imathinputcontrol_setposition
micaut.h
Micaut.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Micaut.idl
Windows
19H1
IMathInputControl::SetPosition
micaut/IMathInputControl::SetPosition
c++
APIRef
kbSyntax
COM
micaut.h
IMathInputControl.SetPosition

IMathInputControl::SetPosition

-description

Modifies the location and size of the control.

-parameters

-param Left [in]

The leftmost position of the control.

-param Top [in]

The highest position of the control.

-param Right [in]

The rightmost position of the control.

-param Bottom [in]

The lowest position of the control.

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
S_FALSE
The control was resized but the resulting width, height, or both are not equal to the input parameters.
E_FAIL
An unspecified error occurred.

-remarks

This method can be called regardless of the control visibility state.

This method will succeed even if parameters are not valid. If the rectangle is larger than the maximum allowed size of the control (desktop window), the maximum possible size is used instead. If the rectangle is smaller than the minimal size of the control, or too small to keep the ink and result preview intact, the minimal possible size is used instead.

If the method returns S_FALSE, the GetPosition method will return the actual size characteristics of the control.

-see-also

GetPosition

IMathInputControl