Printing a revBrowser

Terence Heaford t.heaford at icloud.com
Wed Feb 10 10:39:54 EST 2016


Hi Mark,

OK, I understand.

Adjusted image size and all’s well.

What’s wrong with revBrowserPrint and backgrounds?

Does the widget browser in LC8 print directly? Text and Backgrounds?

Thanks

Terry


> On 10 Feb 2016, at 15:25, Mark Waddingham <mark at livecode.com> wrote:
> 
> On 2016-02-10 14:58, Terence Heaford wrote:
>> Also just tried this example from the dictionary.
>> local tSnapshot
>> revBrowserSnapshot sBrowserId, "tSnapshot"
>> set the imageData of image "Browser Thumbnail" to tSnapshot
> 
> The dictionary example isn't very good there...
> 
> ImageData does not carry the size of the image - it is just xRGB bytes. You need to make sure you're image is the same size as the browser you are taking a snapshot of first.
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list