API Reference > OdExport Classes > TD_PDF_2D_EXPORT Namespace > Classes > PDF2dExportDevice Class > PDF2dExportDevice Methods > PDF2dExportDevice::createObject Method
PDF2dExportDevice::createObject Method
Syntax
C++
static OdGsDevicePtr createObject();

Set the target data stream and the type. static OdGsDevicePtr createObject(DeviceType type = /*Od2dExportDevice::*/k3dDevice);

  • details Creates the target data stream for the export device.

Returns a smart pointer to OdGsDevice class instance if target data stream was successfully created.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.