SAP Knowledge Base Article - Public

2416501 - How to embed Ole Word object within Crystal reports with .Net SDK

Symptom

How to embed Ole Word object within Crystal reports runtime with .Net?

Environment

SAP Crystal Reports Server 2013, OEM edition

Resolution

  • It is not possible to add a Word document with .Net SDK as an OLE object.
  • The extension ".DOC" will throw an exception : "Not yet implemented".
  • It is possible to add pictures at runtime (PNG, BMP, JPG).
  • To add a picture the code is: rcd.ReportDefController.ReportObjectController.ImportPicture(myPicturePath, RHSection, 15, 15) where rcd is a ReportClientDocument object and RHSection is the report header section.

Keywords

Crystal runtime, .Net, Ole Word.  , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports Server 2013, OEM edition