Skip to content

Latest commit

 

History

History
108 lines (86 loc) · 3.08 KB

nf-xpsobjectmodel-ixpsompage-getname.md

File metadata and controls

108 lines (86 loc) · 3.08 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.IXpsOMPage.GetName
IXpsOMPage::GetName (xpsobjectmodel.h)
Gets the Name property of the page.
GetName
GetName method [XPS Documents and Packaging]
GetName method [XPS Documents and Packaging]
IXpsOMPage interface
IXpsOMPage interface [XPS Documents and Packaging]
GetName method
IXpsOMPage.GetName
IXpsOMPage::GetName
xps.ixpsompage_getname
xpsobjectmodel/IXpsOMPage::GetName
xps\ixpsompage_getname.htm
xps
0c133dce-3a5a-4d7f-af83-2e185450c207
12/05/2018
GetName, GetName method [XPS Documents and Packaging], GetName method [XPS Documents and Packaging],IXpsOMPage interface, IXpsOMPage interface [XPS Documents and Packaging],GetName method, IXpsOMPage.GetName, IXpsOMPage::GetName, xps.ixpsompage_getname, xpsobjectmodel/IXpsOMPage::GetName
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
IXpsOMPage::GetName
xpsobjectmodel/IXpsOMPage::GetName
c++
APIRef
kbSyntax
COM
xpsobjectmodel.h
IXpsOMPage.GetName

IXpsOMPage::GetName

-description

Gets the Name property of the page.

-parameters

-param name [out, retval]

The Name property of the page. A NULL pointer is returned if the Name property has not been set.

-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
name is NULL.

-remarks

This method allocates the memory used by the string that is returned in name. If name is not NULL, use the CoTaskMemFree function to free the memory.

-see-also

IXpsOMPage

XML Paper Specification

XPS Document Errors