get_flip();
set_flip(value);
!MISSING Scrap '_RTJavaScript_PROPERTY_SYNTAX'!
Type | Description |
---|---|
boolean | true to display the image flipped vertically; 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 flip vertically.
example: function SiteLibrary_DefaultPage$example(viewer) {
viewer.set_flip(!viewer.get_flip());
},