on 2007 Oct 20 7:54 AM
I found all the instructions on how to remove the watermark from the report viewer. I have a java application the was created outside CR4E and Eclipse. I added the below code to my JRCViewReport.java file. But I still see the watermark at the bottom of my reports. Am I doing something wrong?
package reportviewer;
/**
Applies to: XI Release 2.
Date Created: October 2005.
Description: This sample demonstrates how to launch a report in the thick-client
ReportViewerBean Java Viewer.
Author: CW.
*/
//Crystal Java Reporting Component (JRC) imports.
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.lib.*;
import com.crystaldecisions.reports.common.engine.ConfigurationManager;
import com.crystaldecisions.reports.common.engine.Engine;
//Java Imports.
import javax.swing.*;
public class JRCViewReport {
public static void launchApplication(String strPath) {
try {
ConfigurationManager conf = Engine.getDefault ().getConfigurationManager();
conf.setProperty(ConfigurationManager.CONFIG_KEYCODE, "MyKeyCodeFromJarFile");
Request clarification before answering.
its work but you can put this key
try {
ConfigurationManager conf = Engine.getDefault ().getConfigurationManager();
conf.setProperty(ConfigurationManager.CONFIG_KEYCODE, "<keycode removed by moderator>");
try it ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
30 | |
8 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.