Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19988] Windows: Implement View.toImage

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-03-31T12:43:18.000+0000
Affected Version/sRelease 5.1.0
Fix Version/sRelease 5.4.0
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeGary Mathews
Created2015-11-16T06:50:14.000+0000
Updated2016-07-15T18:21:54.000+0000

Description

toImage of Ti.UI.View is not implemented.

Comments

  1. Kota Iguchi 2016-03-25

    View.toImage is already implemented in [View.cpp](https://github.com/appcelerator/titanium_mobile_windows/blob/master/Source/UI/src/View.cpp#L105) . I originally wrote it for ImageView and 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.
  2. Gary Mathews 2016-03-30

    PR: https://github.com/appcelerator/titanium_mobile_windows/pull/600
  3. Ewan Harris 2016-07-15

    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

JSON Source