LEADTOOLS JavaScript (Leadtools.Controls)

Flip Property

Show in webframe
Example 
Gets or sets a value which determines if the ImageViewer will display the image flipped vertically.
Syntax
get_flip();
set_flip(value);
Object.defineProperty('flip');

Property Value

TypeDescription
booleantrue to display the image flipped vertically; otherwise, it is false. Default value is false.
Remarks

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.

Example

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());
},
See Also

Reference

ImageViewer Object
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.