Close

Relief for ODA Team in Ukraine

Learn more
ODA PRC SDK
OdPrcToPdfModule::prcToPdf Method (OdPrcHostAppServices &, OdStreamBufPtr, OdStreamBufPtr, const OdGsPageParams &, const OdGeExtents3d &)
Syntax
C++
virtual OdResult prcToPdf(OdPrcHostAppServices & pServices, OdStreamBufPtr pPrcStream, OdStreamBufPtr pPdfStream, const OdGsPageParams & pdfParams, const OdGeExtents3d & prcBoundingBox);

Writes PRC data to a specified output stream.

Parameters
Description
pServices
[out] A placeholder for a host services object.
pPrcStream
[in] A smart pointer to an input stream with PRC data.
pPdfStream
[in] A smart pointer to an output stream (.pdf file) to write to.
pdfParams
[in] Graphic parameters of a page.
prcBoundingBox
[in] A bounding box.

Returns eOk if PRC data was successfully written to a specified output stream or an appropriate error code in the other case.

Copyright © 2002-2022. Open Design Alliance All rights reserved.