IAnchor::ShiftRegion method
Syntax
HRESULT ShiftRegion( [in] DWORD dwFlags, [in] TsShiftDir dir, [out] BOOL *pfNoRegion );
Parameters
- dwFlags [in]
-
Bitfields that are used to control anchor repositioning around hidden text, or to avoid actual repositioning of the anchor.
- dir [in]
-
Contains one of the TsShiftDir values that specifies which adjacent region the anchor is moved to.
- pfNoRegion [out]
-
Boolean value that specifies whether a shift of the anchor occurred.
Value Meaning - TRUE
The shift failed, and the anchor was not repositioned.
- FALSE
The shift succeeded.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
The shift failed. |
|
An input parameter value is invalid. |
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Redistributable | TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/27/2012