簡體   English   中英

通過Java applet截圖

[英]Screenshot via Java applet

我對1個問題非常感興趣 - 如何對客戶端桌面進行屏幕顯示,以便進一步發送到Web服務或我的Silverlight應用程序。 我打算寫一個截屏的應用程序。

Thx提前!

已經有一段時間了,但我認為Robot類中有一些東西可以幫到你。

編輯:

從Robot API:

public BufferedImage createScreenCapture(Rectangle screenRect)

    Creates an image containing pixels read from the screen. This image does not include the mouse cursor.

    Parameters:
        screenRect - Rect to capture in screen coordinates 
    Returns:
        The captured image 

看看Robot類。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM