Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.UserInterface Library / Frame Object / WindowSize Property
Example
In This Topic
    WindowSize Property
    In This Topic
    Gets or sets the application window's size.
    Syntax
    expression.WindowSize As Size
    where expression is a variable that represents a Frame Object

    Property Value

    A Size object
    Example
    This sample gets the window size and displays the height and width of the workspace window.
    Sub Sample_Frame_WindowSize()
        Dim size As Attachmate_Reflection_Objects.size
        Set size = ThisFrame.WindowSize
        MsgBox ("The width of the Reflection Desktop is " & Str(size.Width) & " pixels" & " and the height is " & Str(size.Height) & " pixels")
    End Sub
    See Also