Skip to content

Latest commit

 

History

History
97 lines (69 loc) · 4.53 KB

nf-msinkaut-iinkpicture-put_marginy.md

File metadata and controls

97 lines (69 loc) · 4.53 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:msinkaut.IInkPicture.put_MarginY
IInkPicture::put_MarginY (msinkaut.h)
Gets or sets the y-axis margin around the window rectangle, in screen coordinates.This margin provides a buffer around the edge of the ink window. (IInkPicture.put_MarginY)
IInkPicture interface [Tablet PC]
MarginY property
IInkPicture.MarginY
IInkPicture.put_MarginY
IInkPicture::MarginY
IInkPicture::get_MarginY
IInkPicture::put_MarginY
InkPicture.get_MarginY
InkPicture.put_MarginY
MarginY property [Tablet PC]
MarginY property [Tablet PC]
IInkPicture interface
get_MarginY
msinkaut/IInkPicture::MarginY
msinkaut/IInkPicture::get_MarginY
msinkaut/IInkPicture::put_MarginY
put_MarginY
tablet.inkpicture_marginy
tablet\inkpicture_marginy.htm
tablet
f5320061-36c7-4dcb-b5d3-3df41ddcac2a
12/05/2018
IInkPicture interface [Tablet PC],MarginY property, IInkPicture.MarginY, IInkPicture.put_MarginY, IInkPicture::MarginY, IInkPicture::get_MarginY, IInkPicture::put_MarginY, InkPicture.get_MarginY, InkPicture.put_MarginY, MarginY property [Tablet PC], MarginY property [Tablet PC],IInkPicture interface, get_MarginY, msinkaut/IInkPicture::MarginY, msinkaut/IInkPicture::get_MarginY, msinkaut/IInkPicture::put_MarginY, put_MarginY, tablet.inkpicture_marginy
msinkaut.h
Windows
Windows XP Tablet PC Edition [desktop apps only]
None supported
InkObj.dll
Windows
19H1
IInkPicture::put_MarginY
msinkaut/IInkPicture::put_MarginY
c++
APIRef
kbSyntax
COM
InkObj.dll
InkObj.dll.dll
IInkPicture.MarginY
IInkPicture.get_MarginY
IInkPicture.put_MarginY
InkPicture.get_MarginY
InkPicture.put_MarginY

IInkPicture::put_MarginY

-description

Gets or sets the y-axis margin around the window rectangle, in screen coordinates.

This margin provides a buffer around the edge of the ink window.

This property is read/write.

-parameters

-remarks

This property is most commonly used with nonintegrated tablet devices-the buffer gives users a margin of error when writing on a device that may not map 1 to 1 with the screen.

The margin is specified in screen coordinates. A positive margin extends outside the context, a negative margin extends inside the context, and a value of zero produces no margin. Ink is collected if the stroke starts within the margin. This behavior does not clip the ink. The context of the object or control is either the window input rectangle from the GetWindowInputRectangle method or the client rectangle for the window.

The margin is effective only within the application's window. If the pen is applied outside the application's window, then the application loses focus and cannot collect ink.

Note  The InkCollector object, the InkOverlay object, or the InkPicture control must be disabled before setting this property. To disable the InkCollector or InkOverlay object, set the Enabled property to FALSE. To disable inking in the InkOverlay control, set the InkEnabled property to FALSE. You can then set the MarginY property, and re-enable the object or control by setting the Enabled property (or InkEnabled property) to TRUE.
 

-see-also

Enabled Property

IInkPicture

InkEnabled Property

InkPicture Control

MarginX Property