TLayer32.SetSize

procedure SetSize(width, height: integer);