Skip to content

SetSize Method

Description

Set the size of a custom control.

Syntax

Public Sub SetSize( _
    ByVal cx As Integer, _
    ByVal cy As Integer _
)

Parameters

  • cx: The width of the custom control.
  • cy: The height of the custom control.

Return Type

This method is used to resize a custom control. It can be used after switching icon sizes so that the custom control's size matches the new icon size.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.