ProjectionManager.RequestStartProjectingAsync Method

Definition

Overloads

RequestStartProjectingAsync(Int32, Int32, Rect)

Makes a request to asynchronously sends a window (app view) to the projector or other secondary display.

RequestStartProjectingAsync(Int32, Int32, Rect, Placement)

Makes a request to asynchronously sends a window (app view) to the projector or other secondary display with the specified preferred placement.

RequestStartProjectingAsync(Int32, Int32, Rect)

Makes a request to asynchronously sends a window (app view) to the projector or other secondary display.

public:
 static IAsyncOperation<bool> ^ RequestStartProjectingAsync(int projectionViewId, int anchorViewId, Rect selection);
/// [Windows.Foundation.Metadata.Overload("RequestStartProjectingAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> RequestStartProjectingAsync(int const& projectionViewId, int const& anchorViewId, Rect const& selection);
[Windows.Foundation.Metadata.Overload("RequestStartProjectingAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> RequestStartProjectingAsync(int projectionViewId, int anchorViewId, Rect selection);
function requestStartProjectingAsync(projectionViewId, anchorViewId, selection)
Public Shared Function RequestStartProjectingAsync (projectionViewId As Integer, anchorViewId As Integer, selection As Rect) As IAsyncOperation(Of Boolean)

Parameters

projectionViewId
Int32

int

The new ID of the window to be displayed by the projector or other secondary display.

anchorViewId
Int32

int

The ID of the original window before projection.

selection
Rect

The area to one side of which the flyout is displayed.

Returns

true if projection started; otherwise, false.

Attributes

See also

Applies to

RequestStartProjectingAsync(Int32, Int32, Rect, Placement)

Makes a request to asynchronously sends a window (app view) to the projector or other secondary display with the specified preferred placement.

public:
 static IAsyncOperation<bool> ^ RequestStartProjectingAsync(int projectionViewId, int anchorViewId, Rect selection, Placement prefferedPlacement);
/// [Windows.Foundation.Metadata.Overload("RequestStartProjectingWithPlacementAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> RequestStartProjectingAsync(int const& projectionViewId, int const& anchorViewId, Rect const& selection, Placement const& prefferedPlacement);
[Windows.Foundation.Metadata.Overload("RequestStartProjectingWithPlacementAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> RequestStartProjectingAsync(int projectionViewId, int anchorViewId, Rect selection, Placement prefferedPlacement);
function requestStartProjectingAsync(projectionViewId, anchorViewId, selection, prefferedPlacement)
Public Shared Function RequestStartProjectingAsync (projectionViewId As Integer, anchorViewId As Integer, selection As Rect, prefferedPlacement As Placement) As IAsyncOperation(Of Boolean)

Parameters

projectionViewId
Int32

int

The new ID of the window to be displayed by the projector or other secondary display.

anchorViewId
Int32

int

The ID of the original window before projection.

selection
Rect

The area to one side of which the flyout is displayed.

prefferedPlacement
Placement

The side of the rectangle where the flyout should appear.

Returns

true if projection started; otherwise, false.

Attributes

See also

Applies to