API Reference > Classes > PRC Export-Import Classes > OdPrcContextForPdfExport_AllInSingleView_Base Class > OdPrcContextForPdfExport_AllInSingleView_Base Methods > OdPrcContextForPdfExport_AllInSingleView_Base::shouldExportAsPRC Method
OdPrcContextForPdfExport_AllInSingleView_Base::shouldExportAsPRC Method
Syntax
C++
virtual bool shouldExportAsPRC(const OdGiDrawable * pDrawable, const OdGiPathNode * pGiPath, const OdGsClientViewInfo * pView, OdUInt32 & viewportidx) const;
Parameters 
Description 
const OdGiDrawable * pDrawable 
[in] A raw pointer to an entity that is checked whether it can/should be exported as PRC object or not.  
const OdGiPathNode * pGiPath 
[in] A raw pointer to a path node of the entity.  
const OdGsClientViewInfo * pView 
[in] A raw pointer to an object that contains information about the GS client view object.  
OdUInt32 & viewportidx 
[out] A placeholder for the index of the viewport (with the PRC content) in the PDF document where the entity should be exported to.  

true if the entity should be exported to PDF document as a PRC object; otherwise, the method returns false.

Determines whether the entity should be exported to a PDF document as a PRC object.

The default implementation returns false.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.