Skip to content

Latest commit

 

History

History
110 lines (87 loc) · 3.36 KB

nf-xpsobjectmodel-ixpsompath-getstrokethickness.md

File metadata and controls

110 lines (87 loc) · 3.36 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.GetStrokeThickness
IXpsOMPath::GetStrokeThickness (xpsobjectmodel.h)
Gets the stroke thickness.
GetStrokeThickness
GetStrokeThickness method [XPS Documents and Packaging]
GetStrokeThickness method [XPS Documents and Packaging]
IXpsOMPath interface
IXpsOMPath interface [XPS Documents and Packaging]
GetStrokeThickness method
IXpsOMPath.GetStrokeThickness
IXpsOMPath::GetStrokeThickness
xps.ixpsompath_getstrokethickness
xpsobjectmodel/IXpsOMPath::GetStrokeThickness
xps\ixpsompath_getstrokethickness.htm
xps
5c1d8179-99e6-4335-8777-56b6873f746b
12/05/2018
GetStrokeThickness, GetStrokeThickness method [XPS Documents and Packaging], GetStrokeThickness method [XPS Documents and Packaging],IXpsOMPath interface, IXpsOMPath interface [XPS Documents and Packaging],GetStrokeThickness method, IXpsOMPath.GetStrokeThickness, IXpsOMPath::GetStrokeThickness, xps.ixpsompath_getstrokethickness, xpsobjectmodel/IXpsOMPath::GetStrokeThickness
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::GetStrokeThickness
xpsobjectmodel/IXpsOMPath::GetStrokeThickness
c++
APIRef
kbSyntax
COM
xpsobjectmodel.h
IXpsOMPath.GetStrokeThickness

IXpsOMPath::GetStrokeThickness

-description

Gets the stroke thickness.

-parameters

-param strokeThickness [out, retval]

The stroke thickness value.

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the table that follows. For information about XPS document API return values that are not listed in this table, see XPS Document Errors.

Return code Description
S_OK
The method succeeded.
E_POINTER
strokeStartLineCap is NULL.

-remarks

The value returned in strokeThickness specifies the thickness of a stroke in units of the effective coordinate space. The units include the path's render transform.

The stroke is drawn on top of the boundary of the path's geometry, such that one half of the stroke's width extends outside of the path's specified geometry and the other half falls inside of it.

-see-also

IXpsOMPath

XML Paper Specification

XPS Document Errors