Dart.Ssh Namespace > Session Class : WindowDimensionChange Method |
'Declaration Public Sub WindowDimensionChange( _ ByVal term_width_characters As Integer, _ ByVal term_height_characters As Integer, _ ByVal term_width_pixels As Integer, _ ByVal term_height_pixels As Integer _ )
'Usage Dim instance As Session Dim term_width_characters As Integer Dim term_height_characters As Integer Dim term_width_pixels As Integer Dim term_height_pixels As Integer instance.WindowDimensionChange(term_width_characters, term_height_characters, term_width_pixels, term_height_pixels)
public void WindowDimensionChange( int term_width_characters, int term_height_characters, int term_width_pixels, int term_height_pixels )
public: void WindowDimensionChange( int term_width_characters, int term_height_characters, int term_width_pixels, int term_height_pixels )
public: void WindowDimensionChange( int term_width_characters, int term_height_characters, int term_width_pixels, int term_height_pixels )
Exception | Description |
---|---|
System.IO.IOException | Thrown if the Session or the underlying connection is closed, or if no PTY was requested for this Session. |
Informs the server that the local terminal dimensions have changed and that this change shall be reflected to the remote pseudo terminal driver. This method may only be called when a pty (pseudo-terminal) is allocated.
Zero dimension parameters are ignored. The character/row dimensions override the pixel dimensions (when nonzero). Pixel dimensions refer to the drawable area of the window. The dimension parameters are only informational.