ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearOrientation Structure / Combine(IImGearOrientation,IImGearOrientation) Method
First orientation value to be combined.
Second orientation value to be combined.
Example




In This Topic
    Combine(IImGearOrientation,IImGearOrientation) Method
    In This Topic
    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