[TIMOB-19988] Windows: Implement View.toImage
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-03-31T12:43:18.000+0000 |
| Affected Version/s | Release 5.1.0 |
| Fix Version/s | Release 5.4.0 |
| Components | Windows |
| Labels | n/a |
| Reporter | Kota Iguchi |
| Assignee | Gary Mathews |
| Created | 2015-11-16T06:50:14.000+0000 |
| Updated | 2016-07-15T18:21:54.000+0000 |
Description
toImage of Ti.UI.View is not implemented.
View.toImageis already implemented in [View.cpp](https://github.com/appcelerator/titanium_mobile_windows/blob/master/Source/UI/src/View.cpp#L105) . I originally wrote it forImageViewand I did not test if this works for other views (i.e. Button etc). We need to test it and I hope it works well.PR: https://github.com/appcelerator/titanium_mobile_windows/pull/600
Verified using: Windows 10 Pro Appc CLI Core: 5.4.0-33 Appc CLI NPM: 4.2.7 Ti SDK: 5.4.0.v20160713141635 Appc Studio: 4.7.0.201607111053 The toImage() method now works for views. Closing ticket