←Select platform

Flip Property

Summary

Gets or sets a value which determines if the ImageViewer will display the image flipped vertically.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public bool Flip {get; set;}
Public Property Flip As Boolean
public bool Flip {get; set;}
@property (nonatomic, assign) BOOL flip
public boolean getFlip() 
public void setFlip(boolean flip) 
get_Flip(); 
set_Flip(value); 
Object.defineProperty('Flip'); 

Property Value

true to display the image flipped vertically; otherwise, it is false. The 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 matrix is changed.

Example

WinRT C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.Controls; 
 
public void FlipExample() 
{ 
   _viewer.Flip = !_viewer.Flip; 
} 

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize