printing of J# Browser Controls -
04-13-2005
, 12:12 PM
Hello,
What should be done to make JBC printable? That is when we open html page
with J# Browser Control in Internet Explorer select menu "File\Print
Preview..." content of the JBC is not visible. When we print the page
content of the JBC is not visible either. At the same time when Windows
Forms Control is hosted in html page its content is printed when html page
is printed.
This code was used for testing:
import java.applet.*;
import java.awt.*;
public class Class1 extends Applet {
public Class1() {
setBackground (Color.white);
}
public void paint (Graphics g) {
g.setColor (Color.black);
g.fillRect (100, 100, 100, 100);
}
}
<object
width = 100%
height = 94%
mayscript
viewastext
classid="clsid:a399591c-0fd0-41f8-9d25-bd76f632415f"
vjscodebase="Class1.dll#Class1" >
</object>
Thank you,
Alexey |