IWebBrowser2.ClientToWindow Method

Computes the full size of the browser window when given the specified width and height of the content area.

Namespace: Microsoft.Uii.Csr.Browser.Web
Assembly: Microsoft.Uii.Csr.Browser.Web (in Microsoft.Uii.Csr.Browser.Web.dll)

Usage

'Usage
Dim instance As IWebBrowser2
Dim pcx As Integer
Dim pcy As Integer

instance.ClientToWindow(pcx, pcy)

Syntax

'Declaration
<DispIdAttribute(301)> _
Sub ClientToWindow ( _
    <InAttribute> <OutAttribute> ByRef pcx As Integer, _
    <InAttribute> <OutAttribute> ByRef pcy As Integer _
)
[DispIdAttribute(301)] 
void ClientToWindow (
    [InAttribute] out int pcx,
    [InAttribute] out int pcy
)
[DispIdAttribute(301)] 
void ClientToWindow (
    [InAttribute] [OutAttribute] int% pcx, 
    [InAttribute] [OutAttribute] int% pcy
)
/** @attribute DispIdAttribute(301) */ 
void ClientToWindow (
    /** @attribute InAttribute() */ /** @attribute OutAttribute() */ /** @ref */ int pcx, 
    /** @attribute InAttribute() */ /** @attribute OutAttribute() */ /** @ref */ int pcy
)

Parameters

  • pcx
    Specifies the width of the content area.
  • pcy
    Specifies the height of the content area.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

IWebBrowser2 Interface
IWebBrowser2 Members
Microsoft.Uii.Csr.Browser.Web Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.