get_reverse();
set_reverse(value);
!MISSING Scrap '_RTJavaScript_PROPERTY_SYNTAX'!
Type | Description |
---|---|
boolean | true to display the image reversed horizontally; otherwise, it is false. Default value is false. |
Changing the value of this property will fire the PropertyChanged and TransformChanged events.
This is a display value and the image data will not be changed. Only the value of Transform.
Start with the ImageViewer example, remove all the code inside the example function (search for the // TODO: add example code here comment) and insert the following code:
Open the HTML page in your browser, now as you click the Example button, the image will be reversed horizontally.
example: function SiteLibrary_DefaultPage$example(viewer) {
viewer.set_reverse(!viewer.get_reverse());
},