Skip to content

Latest commit

 

History

History
98 lines (81 loc) · 3.06 KB

nf-xpsobjectmodel-ixpsompath-setsnapstopixels.md

File metadata and controls

98 lines (81 loc) · 3.06 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:xpsobjectmodel.IXpsOMPath.SetSnapsToPixels
IXpsOMPath::SetSnapsToPixels (xpsobjectmodel.h)
Sets a Boolean value that indicates whether the path will be snapped to device pixels when that path is being rendered.
FALSE
IXpsOMPath interface [XPS Documents and Packaging]
SetSnapsToPixels method
IXpsOMPath.SetSnapsToPixels
IXpsOMPath::SetSnapsToPixels
SetSnapsToPixels
SetSnapsToPixels method [XPS Documents and Packaging]
SetSnapsToPixels method [XPS Documents and Packaging]
IXpsOMPath interface
TRUE
xps.ixpsompath_setsnapstopixels
xpsobjectmodel/IXpsOMPath::SetSnapsToPixels
xps\ixpsompath_setsnapstopixels.htm
xps
6b063829-3941-42be-bbe2-49b5a71b695a
12/05/2018
FALSE, IXpsOMPath interface [XPS Documents and Packaging],SetSnapsToPixels method, IXpsOMPath.SetSnapsToPixels, IXpsOMPath::SetSnapsToPixels, SetSnapsToPixels, SetSnapsToPixels method [XPS Documents and Packaging], SetSnapsToPixels method [XPS Documents and Packaging],IXpsOMPath interface, TRUE, xps.ixpsompath_setsnapstopixels, xpsobjectmodel/IXpsOMPath::SetSnapsToPixels
xpsobjectmodel.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
XpsObjectModel.idl
Windows
19H1
IXpsOMPath::SetSnapsToPixels
xpsobjectmodel/IXpsOMPath::SetSnapsToPixels
c++
APIRef
kbSyntax
COM
xpsobjectmodel.h
IXpsOMPath.SetSnapsToPixels

IXpsOMPath::SetSnapsToPixels

-description

Sets a Boolean value that indicates whether the path will be snapped to device pixels when that path is being rendered.

-parameters

-param snapsToPixels [in]

A Boolean value that indicates whether to snap the path to the device pixels when that path is being rendered. The following table describes the values possible for this parameter.

Value Meaning
TRUE
Snap the path to the device pixels.
FALSE
Do not snap the path to the device pixels.

-returns

If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.

-see-also

IXpsOMPath

XML Paper Specification