FarPoint.Win.Spread
FlipHorizontal Property
See Also  Example
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSObject Class : FlipHorizontal Property


Gets or sets a value indicating whether the shape has been flipped horizontally.

Syntax

Visual Basic (Declaration) 
Public Property FlipHorizontal As Boolean
Visual Basic (Usage)Copy Code
Dim instance As PSObject
Dim value As Boolean
 
instance.FlipHorizontal = value
 
value = instance.FlipHorizontal
C# 
public bool FlipHorizontal {get; set;}

Return Value

true if the shape has been flipped horizontally; otherwise, false.

Example

This example uses the FlipHorizontal and FlipVertical properties.
C#Copy Code
fpSpread1.Sheets[0].Cells[0, 0].Text = "test";
FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape test =
new FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape();
test.Formula =
"A1:A5";
fpSpread1.Sheets
[0].AddShape(test, 2, 1);
test.FlipHorizontal = true;
test.FlipVertical = true;
Visual BasicCopy Code
FpSpread1.Sheets(0).Cells(0, 0).Text = "test"
Dim test As New FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape()
test.Formula = "A1:A5"
FpSpread1.Sheets(0).AddShape(test, 2, 1)
test.FlipHorizontal = True
test.FlipVertical = True

See Also