ImageGear .NET v25.1 - Updated
Combine(IImGearOrientation,IImGearOrientation) Method
Example 




ImageGear.Core Assembly > ImageGear.Core Namespace > ImGearOrientation Structure : Combine(IImGearOrientation,IImGearOrientation) Method
First orientation value to be combined.
Second orientation value to be combined.
Returns orientation that is super-imposition of two values.
Syntax
'Declaration
 
Public Shared Function Combine( _
   ByVal orientation1 As IImGearOrientation, _
   ByVal orientation2 As IImGearOrientation _
) As ImGearOrientation
'Usage
 
Dim orientation1 As IImGearOrientation
Dim orientation2 As IImGearOrientation
Dim value As ImGearOrientation
 
value = ImGearOrientation.Combine(orientation1, orientation2)

Parameters

orientation1
First orientation value to be combined.
orientation2
Second orientation value to be combined.

Return Value

New ImGearOrientation structure value.
Remarks
Returns super-imposition of two orientations. Returned value equals to sequential application of two given orientations onto one source.
Example
igPage.Orientation = ImGearOrientation.Combine(
   igPage.Orientation, igPageDisplay.Orientation);
igPageDisplay.Orientation.SetToDefault();
igPage.Orientation = ImGearOrientation.Combine( _
       igPage.Orientation, igPageDisplay.Orientation)
igPageDisplay.Orientation.SetToDefault()
See Also

Reference

ImGearOrientation Structure
ImGearOrientation Members