Skip to content

Latest commit

 

History

History
80 lines (63 loc) · 3.07 KB

nf-xpsobjectmodel_1-ixpsomobjectfactory1-convertjpegxrtohdphoto.md

File metadata and controls

80 lines (63 loc) · 3.07 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_1.IXpsOMObjectFactory1.ConvertJpegXRToHDPhoto
IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto (xpsobjectmodel_1.h)
Converts an image resource from a JpegXR to an HD Photo.
ConvertJpegXRToHDPhoto
ConvertJpegXRToHDPhoto method [XPS Documents and Packaging]
ConvertJpegXRToHDPhoto method [XPS Documents and Packaging]
IXpsOMObjectFactory1 interface
IXpsOMObjectFactory1 interface [XPS Documents and Packaging]
ConvertJpegXRToHDPhoto method
IXpsOMObjectFactory1.ConvertJpegXRToHDPhoto
IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto
xps.ixpsomobjectfactory1_convertjpegxrtohdphoto
xpsobjectmodel_1/IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto
xps\ixpsomobjectfactory1_convertjpegxrtohdphoto.htm
xps
98cb0eca-229e-4224-bc9c-605f56cc298b
12/05/2018
ConvertJpegXRToHDPhoto, ConvertJpegXRToHDPhoto method [XPS Documents and Packaging], ConvertJpegXRToHDPhoto method [XPS Documents and Packaging],IXpsOMObjectFactory1 interface, IXpsOMObjectFactory1 interface [XPS Documents and Packaging],ConvertJpegXRToHDPhoto method, IXpsOMObjectFactory1.ConvertJpegXRToHDPhoto, IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto, xps.ixpsomobjectfactory1_convertjpegxrtohdphoto, xpsobjectmodel_1/IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto
xpsobjectmodel_1.h
Windows
Windows 8 [desktop apps \| UWP apps]
Windows Server 2012 [desktop apps \| UWP apps]
XpsObjectModel.idl
None
Windows
19H1
IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto
xpsobjectmodel_1/IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto
c++
APIRef
kbSyntax
COM
none
none.dll
IXpsOMObjectFactory1.ConvertJpegXRToHDPhoto

IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto

-description

Converts an image resource from a JpegXR to an HD Photo.

-parameters

-param imageResource

[in, out] The image resource to convert.

When the method returns, the converted image resource.

-returns

Possible values include, but are not limited to, the following. For information about XPS document API return values that are not listed here, see XPS Document Errors.

S_OK: The method succeeded.

XPS_E_INVALID_CONTENT_TYPE: The image type is not XPS_IMAGE_TYPE_JXR.

E_INVALIDARG if data is not recognized by WDP decoder or another error occurred.

-remarks

This image referenced by imageResource is changed from an XPS_IMAGE_TYPE_JPEGXR image type to an XPS_IMAGE_TYPE_WDP image type. This method converts the data stream of the image resource;, however, the part name of the resource remains the same.

-see-also

IXpsOMObjectFactory1